aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/120-daemonize_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/hostapd/patches/120-daemonize_fix.patch')
-rw-r--r--package/network/services/hostapd/patches/120-daemonize_fix.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/hostapd/patches/120-daemonize_fix.patch b/package/network/services/hostapd/patches/120-daemonize_fix.patch
index fad84669a6..0389406a98 100644
--- a/package/network/services/hostapd/patches/120-daemonize_fix.patch
+++ b/package/network/services/hostapd/patches/120-daemonize_fix.patch
@@ -60,13 +60,13 @@
+ if (chdir("/") < 0)
return -1;
- }
--
+
- return 0;
-}
-#else /* __APPLE__ */
-#define os_daemon daemon
-#endif /* __APPLE__ */
-
+-
-
-int os_daemonize(const char *pid_file)
-{