summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-08-29 15:19:44 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-08-29 15:19:44 +0000
commit8ce8f9b482643689b31783b631a41caaa2275778 (patch)
tree99811b61f0cab0c4d6568897f223b9db82e00d43 /networking
parent2233685f0052492a391a5e5ab0f63c059c34c9ed (diff)
Remove stray '\n'
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/dhcpc.c2
-rw-r--r--networking/udhcp/socket.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index d18cb423f..5c8b0d3f1 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -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 */
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index a51a74369..f12fa9290 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -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;