Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/rpc.bootparamd BOOTPARAMVERS is apparently a long, ...



details:   https://anonhg.NetBSD.org/src/rev/f4c9c8270b3c
branches:  trunk
changeset: 487306:f4c9c8270b3c
user:      cjs <cjs%NetBSD.org@localhost>
date:      Tue Jun 06 01:40:19 2000 +0000

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

diffstat:

 usr.sbin/rpc.bootparamd/bootparamd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 69f08f457a46 -r f4c9c8270b3c usr.sbin/rpc.bootparamd/bootparamd.c
--- a/usr.sbin/rpc.bootparamd/bootparamd.c      Tue Jun 06 01:33:15 2000 +0000
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c      Tue Jun 06 01:40:19 2000 +0000
@@ -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 @@
 
        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();



Home | Main Index | Thread Index | Old Index