diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-06 18:36:50 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-06 18:36:50 +0000 |
commit | 601d93b47b8ac41f1fd763db15f05b6419c0b398 (patch) | |
tree | 768c23fe79bb81583de7376a4d744632d888d303 /networking/udhcp/signalpipe.c | |
parent | 05fa38a6084b2f829750451d934f18c4dad62776 (diff) | |
download | busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.tar.gz busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.tar.bz2 busybox-w32-601d93b47b8ac41f1fd763db15f05b6419c0b398.zip |
Implement optional syslog logging using ordinary
bb_xx_msg calls, and convert networking/* to it.
The rest of bbox will be converted gradually.
git-svn-id: svn://busybox.net/trunk/busybox@16058 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking/udhcp/signalpipe.c')
-rw-r--r-- | networking/udhcp/signalpipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/signalpipe.c b/networking/udhcp/signalpipe.c index 9951eb57d..6c4a9f1f2 100644 --- a/networking/udhcp/signalpipe.c +++ b/networking/udhcp/signalpipe.c | |||
@@ -36,7 +36,7 @@ static int signal_pipe[2]; | |||
36 | static void signal_handler(int sig) | 36 | static void signal_handler(int sig) |
37 | { | 37 | { |
38 | if (send(signal_pipe[1], &sig, sizeof(sig), MSG_DONTWAIT) < 0) | 38 | if (send(signal_pipe[1], &sig, sizeof(sig), MSG_DONTWAIT) < 0) |
39 | DEBUG(LOG_ERR, "Could not send signal: %m"); | 39 | bb_perror_msg("Could not send signal"); |
40 | } | 40 | } |
41 | 41 | ||
42 | 42 | ||