aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 17:05:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 17:05:44 +0000
commit239369b3685473094b2661c05634dfbe26f470b1 (patch)
treeed316732ba1856d03153fcba7a4e47fae92c22c5 /networking/udhcp/common.c
parenta9801658ee4b7f5717d145818428452f864e1015 (diff)
downloadbusybox-w32-239369b3685473094b2661c05634dfbe26f470b1.tar.gz
busybox-w32-239369b3685473094b2661c05634dfbe26f470b1.tar.bz2
busybox-w32-239369b3685473094b2661c05634dfbe26f470b1.zip
Fix (hopefully) bug 976. Need more thorough audit.
Restore erroneously removed FEATURE_UDHCP_SYSLOG.
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r--networking/udhcp/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index 1ae65f750..c34b3de26 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -67,7 +67,7 @@ void udhcp_background(const char *pidfile)
67#endif /* __uClinux__ */ 67#endif /* __uClinux__ */
68} 68}
69 69
70void udhcp_start_log_and_pid(const char *client_server, const char *pidfile) 70void udhcp_start_log_and_pid(const char *pidfile)
71{ 71{
72 int pid_fd; 72 int pid_fd;
73 73
@@ -82,9 +82,9 @@ void udhcp_start_log_and_pid(const char *client_server, const char *pidfile)
82 setlinebuf(stdout); 82 setlinebuf(stdout);
83 83
84 if (ENABLE_FEATURE_UDHCP_SYSLOG) { 84 if (ENABLE_FEATURE_UDHCP_SYSLOG) {
85 openlog(client_server, LOG_PID, LOG_LOCAL0); 85 openlog(bb_applet_name, LOG_PID, LOG_LOCAL0);
86 logmode |= LOGMODE_SYSLOG; 86 logmode |= LOGMODE_SYSLOG;
87 } 87 }
88 88
89 bb_info_msg("%s (v%s) started", client_server, BB_VER); 89 bb_info_msg("%s (v%s) started", bb_applet_name, BB_VER);
90} 90}