From 4d23eb72413c820d09ecba14423d0875a334ad49 Mon Sep 17 00:00:00 2001 From: explorer Date: Wed, 14 Jun 2000 06:27:25 +0000 Subject: [PATCH] Use %lu since BOOTPARAMVERS is defined as ((u_long)1) --- usr.sbin/rpc.bootparamd/bootparamd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c index a7faa27513da..e024a2353ed7 100644 --- a/usr.sbin/rpc.bootparamd/bootparamd.c +++ b/usr.sbin/rpc.bootparamd/bootparamd.c @@ -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 #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 @@ -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();