diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-14 19:32:05 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-14 19:32:05 +0000 |
commit | 815537b823b88a67a72cacf63ca9931d4343e2e9 (patch) | |
tree | 04957f5286aa656e095162dbf1c1ed1d7ec60a64 | |
parent | 1ddadd33aff4a6aaa2c0c07952dc276bef5139e2 (diff) |
Fix printf format string. ok deraadt@
-rw-r--r-- | usr.sbin/bootpd/dumptab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bootpd/dumptab.c b/usr.sbin/bootpd/dumptab.c index 3017666d6a3..6e416d658ca 100644 --- a/usr.sbin/bootpd/dumptab.c +++ b/usr.sbin/bootpd/dumptab.c @@ -259,7 +259,7 @@ dump_host(fp, hp) /* NetBSD: domainname (see above) */ /* NetBSD: dumpfile (see above) */ if (hp->flags.time_offset) { - fprintf(fp, "\\\n\t:to=%ld:", hp->time_offset); + fprintf(fp, "\\\n\t:to=%d:", hp->time_offset); } if (hp->flags.time_server) { fprintf(fp, "\\\n\t:ts="); |