projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c04820
)
Fix wpa_supplicant build for uClinux
author
Ihar Hrachyshka
<ihar.hrachyshka@gmail.com>
Mon, 5 Jan 2009 18:32:04 +0000
(20:32 +0200)
committer
Jouni Malinen
<j@w1.fi>
Mon, 5 Jan 2009 18:32:04 +0000
(20:32 +0200)
The code contains a bogus #ifdef for uClinux building. [Bug 286]
src/utils/os_unix.c
patch
|
blob
|
history
diff --git
a/src/utils/os_unix.c
b/src/utils/os_unix.c
index
a428195
..
0789b78
100644
(file)
--- a/
src/utils/os_unix.c
+++ b/
src/utils/os_unix.c
@@
-78,9
+78,9
@@
int os_mktime(int year, int month, int day, int hour, int min, int sec,
int os_daemonize(const char *pid_file)
{
-#ifdef __u
nclinux
+#ifdef __u
Clinux__
return -1;
-#else /* __u
clinux
*/
+#else /* __u
Clinux__
*/
if (daemon(0, 0)) {
perror("daemon");
return -1;
@@
-95,7
+95,7
@@
int os_daemonize(const char *pid_file)
}
return -0;
-#endif /* __u
clinux
*/
+#endif /* __u
Clinux__
*/
}