Remove stray '\n'
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 15:19:44 +0000 (15:19 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 15:19:44 +0000 (15:19 -0000)
networking/udhcp/dhcpc.c
networking/udhcp/socket.c

index d18cb423fcedd85d682dc49e2211b747877f8510..5c8b0d3f1df0604942ef6166743f6cedc29930ba 100644 (file)
@@ -277,7 +277,7 @@ int udhcpc_main(int argc, char *argv[])
                FD_SET(udhcp_signal_pipe[0], &rfds);
 
                if (tv.tv_sec > 0) {
-                       DEBUG(LOG_INFO, "Waiting on select...\n");
+                       DEBUG(LOG_INFO, "Waiting on select...");
                        max_fd = udhcp_signal_pipe[0] > fd ? udhcp_signal_pipe[0] : fd;
                        retval = select(max_fd + 1, &rfds, NULL, NULL, &tv);
                } else retval = 0; /* If we already timed out, fall through */
index a51a7436934f3a824fdf56cb0e2ba67aeadbeb61..f12fa929099e759e78850901d8274adda9e8abcf 100644 (file)
@@ -96,7 +96,7 @@ int listen_socket(unsigned int ip, int port, char *inf)
        struct sockaddr_in addr;
        int n = 1;
 
-       DEBUG(LOG_INFO, "Opening listen socket on 0x%08x:%d %s\n", ip, port, inf);
+       DEBUG(LOG_INFO, "Opening listen socket on 0x%08x:%d %s", ip, port, inf);
        if ((fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
                DEBUG(LOG_ERR, "socket call failed: %m");
                return -1;
@@ -136,7 +136,7 @@ int raw_socket(int ifindex)
        int fd;
        struct sockaddr_ll sock;
 
-       DEBUG(LOG_INFO, "Opening raw socket on ifindex %d\n", ifindex);
+       DEBUG(LOG_INFO, "Opening raw socket on ifindex %d", ifindex);
        if ((fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) {
                DEBUG(LOG_ERR, "socket call failed: %m");
                return -1;