summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-04-20 01:18:56 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-04-20 01:18:56 +0000
commiteb7600593808a2710002acfe809aecf4c0c60d8f (patch)
tree37ca34fa356148cb1a3c66830b35f322f9c0ff8b /usr.sbin/dhcpd
parent513bd16faf7fb5c8890f7d7da1e9bac5b3d4060c (diff)
Remove extraneous "\n" erroneously introduced by move to strftime().
Spotted by sthen@.
Diffstat (limited to 'usr.sbin/dhcpd')
-rw-r--r--usr.sbin/dhcpd/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/db.c b/usr.sbin/dhcpd/db.c
index 3f0df99eea6..b037b2c3f49 100644
--- a/usr.sbin/dhcpd/db.c
+++ b/usr.sbin/dhcpd/db.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db.c,v 1.12 2013/04/17 19:26:10 krw Exp $ */
+/* $OpenBSD: db.c,v 1.13 2013/04/20 01:18:55 krw Exp $ */
/*
* Persistent database management routines for DHCPD.
@@ -77,7 +77,7 @@ write_lease(struct lease *lease)
errors++;
if (lease->hardware_addr.hlen) {
- if (fprintf(db_file, "\n\thardware %s %s;",
+ if (fprintf(db_file, "\thardware %s %s;",
hardware_types[lease->hardware_addr.htype],
print_hw_addr(lease->hardware_addr.htype,
lease->hardware_addr.hlen,