diff options
author | Denis Vlasenko | 2007-10-07 17:06:01 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-10-07 17:06:01 +0000 |
commit | def88985966a9351911844d42e06b735977bcb72 (patch) | |
tree | 99059022fef92213ec7f7adf7b80822f307bf38e /networking/udhcp | |
parent | 76a6b236a9e2654e8c296c61cf71e0cf8bf4a64c (diff) | |
download | busybox-def88985966a9351911844d42e06b735977bcb72.zip busybox-def88985966a9351911844d42e06b735977bcb72.tar.gz |
reviving libbusybox, adding CONFIG_INDIVIDUAL part 3
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/dhcpc.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index ca478b3..21b496c 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -260,7 +260,7 @@ int udhcpc_main(int argc, char **argv) if (opt & OPT_t) client_config.retries = xatoi_u(str_t); if (opt & OPT_v) { - printf("version %s\n", BB_VER); + puts("version "BB_VER); return 0; } @@ -283,7 +283,7 @@ int udhcpc_main(int argc, char **argv) /* if (!..) bb_perror_msg("cannot create pidfile %s", pidfile); */ /* Goes to stdout and possibly syslog */ - bb_info_msg("%s (v%s) started", applet_name, BB_VER); + bb_info_msg("%s (v"BB_VER") started", applet_name); /* if not set, and not suppressed, setup the default client ID */ if (!client_config.clientid && !(opt & OPT_C)) { diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 3466312..4343f1c 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -62,7 +62,7 @@ int udhcpd_main(int argc, char **argv) write_pidfile(server_config.pidfile); /* if (!..) bb_perror_msg("cannot create pidfile %s", pidfile); */ - bb_info_msg("%s (v%s) started", applet_name, BB_VER); + bb_info_msg("%s (v"BB_VER") started", applet_name); option = find_option(server_config.options, DHCP_LEASE_TIME); server_config.lease = LEASE_TIME; |