aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/signalpipe.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-06 18:36:50 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-06 18:36:50 +0000
commit601d93b47b8ac41f1fd763db15f05b6419c0b398 (patch)
tree768c23fe79bb81583de7376a4d744632d888d303 /networking/udhcp/signalpipe.c
parent05fa38a6084b2f829750451d934f18c4dad62776 (diff)
downloadbusybox-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.c2
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];
36static void signal_handler(int sig) 36static 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