From def88985966a9351911844d42e06b735977bcb72 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 7 Oct 2007 17:06:01 +0000 Subject: reviving libbusybox, adding CONFIG_INDIVIDUAL part 3 --- networking/udhcp/dhcpc.c | 4 ++-- networking/udhcp/dhcpd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'networking') 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; -- cgit v1.1