projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kernel] remove support for 2.6.27, no target is using it anymore
[openwrt.git]
/
package
/
wprobe
/
src
/
user
/
wprobe-lib.c
diff --git
a/package/wprobe/src/user/wprobe-lib.c
b/package/wprobe/src/user/wprobe-lib.c
index
a3b0fb5
..
7ba67cf
100644
(file)
--- a/
package/wprobe/src/user/wprobe-lib.c
+++ b/
package/wprobe/src/user/wprobe-lib.c
@@
-13,6
+13,8
@@
* GNU General Public License for more details.
*/
* GNU General Public License for more details.
*/
+#define _ISOC99_SOURCE
+#define _BSD_SOURCE
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
@@
-795,7
+797,8
@@
wprobe_get_auto(const char *arg, char **err)
free(devstr);
return wprobe_get_dev(arg);
#else
free(devstr);
return wprobe_get_dev(arg);
#else
- *err = "Invalid argument";
+ if (err)
+ *err = "Invalid argument";
goto out;
#endif
}
goto out;
#endif
}
This page took
0.027482 seconds
and
4
git commands to generate.