hostapd: backport a few upstream fixes
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 100-daemonize_fix.patch
index fad84669a6b646d39d18d0381c0d98b7e1fd1e76..0389406a98a11a9eb4d5df64a30896e57dea103b 100644 (file)
 +      if (chdir("/") < 0)
                return -1;
 -      }
--
 -      return 0;
 -}
 -#else /* __APPLE__ */
 -#define os_daemon daemon
 -#endif /* __APPLE__ */
+-
 -
 -int os_daemonize(const char *pid_file)
 -{