diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2001-09-29 11:37:13 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2001-09-29 11:37:13 +0000 |
| commit | 7fe354ba91ed06975f91c1f2145d4a8050bd481a (patch) | |
| tree | 5400fa5975d5427f80bd2a3b7675089dba0f5bc3 /libexec/bootpd/dumptab.c | |
| parent | 625768e4a02547092c80972cd842d9d61fcefa3e (diff) | |
Notes
Diffstat (limited to 'libexec/bootpd/dumptab.c')
| -rw-r--r-- | libexec/bootpd/dumptab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/bootpd/dumptab.c b/libexec/bootpd/dumptab.c index 5fa832098062..0fe31b47a8e4 100644 --- a/libexec/bootpd/dumptab.c +++ b/libexec/bootpd/dumptab.c @@ -34,9 +34,11 @@ #define P(args) () #endif +#ifdef DEBUG static void dump_generic P((FILE *, struct shared_bindata *)); static void dump_host P((FILE *, struct host *)); static void list_ipaddresses P((FILE *, struct in_addr_list *)); +#endif #undef P @@ -262,7 +264,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=%ld:", (long)hp->time_offset); } if (hp->flags.time_server) { fprintf(fp, "\\\n\t:ts="); |
