summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/yppush/yppush.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-01 22:14:49 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-01 22:14:49 +0000
commit99fe622cd1f484b14494b5c794da01c76f6d5ebf (patch)
treee88697b9105a5734786de99e04508ceff0cf7b8c /usr.sbin/ypserv/yppush/yppush.c
parent226bc76e46721ef41afc2d64403fc5da09fc6ac2 (diff)
Umm, fix signedness error in my last commit, be explicit
about the fact that ordernumbers are 32 bit
Diffstat (limited to 'usr.sbin/ypserv/yppush/yppush.c')
-rw-r--r--usr.sbin/ypserv/yppush/yppush.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c
index a4e774e4692..aac2f7485d8 100644
--- a/usr.sbin/ypserv/yppush/yppush.c
+++ b/usr.sbin/ypserv/yppush/yppush.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppush.c,v 1.6 1997/03/15 00:08:58 gene Exp $ */
+/* $OpenBSD: yppush.c,v 1.7 1997/05/01 22:14:46 niklas Exp $ */
/*
* Copyright (c) 1995 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: yppush.c,v 1.6 1997/03/15 00:08:58 gene Exp $";
+static char rcsid[] = "$OpenBSD: yppush.c,v 1.7 1997/05/01 22:14:46 niklas Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -57,7 +57,7 @@ static char rcsid[] = "$OpenBSD: yppush.c,v 1.6 1997/03/15 00:08:58 gene Exp $";
int Verbose = 0;
char Domain[MAXHOSTNAMELEN], Map[255];
-u_long OrderNum;
+u_int32_t OrderNum;
char *master;
extern void yppush_xfrrespprog_1(struct svc_req *request, SVCXPRT *xprt);
@@ -124,7 +124,7 @@ CLIENT *client;
request.port=transp->xp_port;
if (Verbose)
- printf("%d: %s(%d@%s) -> %s@%s\n",
+ printf("%d: %s(%u@%s) -> %s@%s\n",
request.transid,
request.map_parms.map,
request.map_parms.ordernum,