summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip/dhcpd/db.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-10-29 17:29:09 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-10-29 17:29:09 +0100
commit840ade48c4e2c309a9f0ef02a939e00da4c0ee90 (patch)
treed2766eb9a54a98d5463a5de9e0514b54237e4099 /sys/src/cmd/ip/dhcpd/db.c
parent4616c93e8d5fbb9fbedf3b2c16f5b86a21e834ac (diff)
fix syslog() use with linefeeds for various programs
Diffstat (limited to 'sys/src/cmd/ip/dhcpd/db.c')
-rw-r--r--sys/src/cmd/ip/dhcpd/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/dhcpd/db.c b/sys/src/cmd/ip/dhcpd/db.c
index 5392559d3..6a431fe2f 100644
--- a/sys/src/cmd/ip/dhcpd/db.c
+++ b/sys/src/cmd/ip/dhcpd/db.c
@@ -261,7 +261,7 @@ lognolease(Binding *b)
/* complain if we haven't in the last 5 minutes */
if(now - b->lastcomplained < 5*60)
return;
- syslog(0, blog, "dhcp: lease for %I to %s ended at %ld but still in use\n",
+ syslog(0, blog, "dhcp: lease for %I to %s ended at %ld but still in use",
b->ip, b->boundto != nil ? b->boundto : "?", b->lease);
b->lastcomplained = now;
}