use %d instead of %ld to print rpc version

This commit is contained in:
lukem 1998-02-10 06:46:10 +00:00
parent f18da82e69
commit 80d1e4afc8
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootparamd.c,v 1.15 1997/10/18 11:27:49 lukem Exp $ */
/* $NetBSD: bootparamd.c,v 1.16 1998/02/10 06:46:10 lukem 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.15 1997/10/18 11:27:49 lukem Exp $");
__RCSID("$NetBSD: bootparamd.c,v 1.16 1998/02/10 06:46:10 lukem Exp $");
#endif
#include <sys/types.h>
@ -126,7 +126,7 @@ main(argc, argv)
if (!svc_register(transp, BOOTPARAMPROG, BOOTPARAMVERS, bootparamprog_1,
IPPROTO_UDP))
errx(1, "unable to register BOOTPARAMPROG version %ld, udp",
errx(1, "unable to register BOOTPARAMPROG version %d, udp",
BOOTPARAMVERS);
svc_run();