summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-01-14 19:32:04 +0000
committerotto <otto@openbsd.org>2004-01-14 19:32:04 +0000
commitf837a409b8b8ad3185009d7fe2500f3c27b4a57f (patch)
tree862b6273094f5983e6f1f6f38f0d2c77c3c2e4c7
parentSlightly better messages, fix a typo, and a few strlcpy() botches. (diff)
downloadwireguard-openbsd-f837a409b8b8ad3185009d7fe2500f3c27b4a57f.tar.xz
wireguard-openbsd-f837a409b8b8ad3185009d7fe2500f3c27b4a57f.zip
Fix printf format string. ok deraadt@
-rw-r--r--usr.sbin/bootpd/dumptab.c2
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=");