[git commit] zcip: use bb_error_msg for logging, not bb_info_msg

Denys Vlasenko vda.linux at googlemail.com
Wed Mar 30 14:22:13 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=cde1199e01aa14f1777f97cdcb7d0de2d00add80
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/zcip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/networking/zcip.c b/networking/zcip.c
index 1d69105..c930826 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -176,7 +176,7 @@ static int run(char *argv[3], const char *param, uint32_t nip)
 		xsetenv("ip", addr);
 		fmt -= 3;
 	}
-	bb_info_msg(fmt, argv[2], argv[0], addr);
+	bb_error_msg(fmt, argv[2], argv[0], addr);
 
 	status = spawn_and_wait(argv + 1);
 	if (status < 0) {
@@ -317,7 +317,7 @@ int zcip_main(int argc UNUSED_PARAM, char **argv)
 #if BB_MMU
 		bb_daemonize(0 /*was: DAEMON_CHDIR_ROOT*/);
 #endif
-		bb_info_msg("start, interface %s", argv_intf);
+		bb_error_msg("start, interface %s", argv_intf);
 	}
 
 	// Run the dynamic address negotiation protocol,


More information about the busybox-cvs mailing list