Use %lu since BOOTPARAMVERS is defined as ((u_long)1)

This commit is contained in:
explorer 2000-06-14 06:27:25 +00:00
parent 9e8ad51e02
commit 4d23eb7241

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootparamd.c,v 1.30 2000/06/08 12:00:46 dan Exp $ */
/* $NetBSD: bootparamd.c,v 1.31 2000/06/14 06:27:25 explorer 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.30 2000/06/08 12:00:46 dan Exp $");
__RCSID("$NetBSD: bootparamd.c,v 1.31 2000/06/14 06:27:25 explorer 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();