BOOTPARAMVERS is apparently a long, so use %lu rather than %u to print it.

This commit is contained in:
cjs 2000-06-06 01:40:19 +00:00
parent bbca3924cd
commit a5b96ca6ad
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootparamd.c,v 1.26 2000/06/04 13:49:21 veego Exp $ */
/* $NetBSD: bootparamd.c,v 1.27 2000/06/06 01:40:19 cjs Exp $ */
/*
* This code is not copyright, and is placed in the public domain.
@ -11,7 +11,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: bootparamd.c,v 1.26 2000/06/04 13:49:21 veego Exp $");
__RCSID("$NetBSD: bootparamd.c,v 1.27 2000/06/06 01:40:19 cjs Exp $");
#endif
#include <sys/types.h>
@ -134,7 +134,7 @@ main(argc, argv)
if (!svc_register(transp, BOOTPARAMPROG, BOOTPARAMVERS, bootparamprog_1,
IPPROTO_UDP))
errx(1, "unable to register BOOTPARAMPROG version %u, udp",
errx(1, "unable to register BOOTPARAMPROG version %lu, udp",
BOOTPARAMVERS);
svc_run();