summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1996-08-15 21:47:31 +0000
committerchuck <chuck@cvs.openbsd.org>1996-08-15 21:47:31 +0000
commit72aea76a13e3db17a5e79fa1e53890cac5cdf3d7 (patch)
tree5bb0478b4af1e37d3077f0292f010295c241b6fb /usr.sbin
parent2e2bdb1e57fe3d800767b230ed3641a7a64680c5 (diff)
fix printf format (%s -> %d) in yplog debug statement
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypserv/ypserv/ypserv_proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv_proc.c b/usr.sbin/ypserv/ypserv/ypserv_proc.c
index c5aee68ea98..eb53cb2b531 100644
--- a/usr.sbin/ypserv/ypserv/ypserv_proc.c
+++ b/usr.sbin/ypserv/ypserv/ypserv_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypserv_proc.c,v 1.4 1996/06/26 21:26:39 maja Exp $ */
+/* $OpenBSD: ypserv_proc.c,v 1.5 1996/08/15 21:47:30 chuck Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypserv_proc.c,v 1.4 1996/06/26 21:26:39 maja Exp $";
+static char rcsid[] = "$OpenBSD: ypserv_proc.c,v 1.5 1996/08/15 21:47:30 chuck Exp $";
#endif
#include <rpc/rpc.h>
@@ -252,10 +252,10 @@ ypproc_xfr_2_svc(argp, rqstp)
bzero((char *)&res, sizeof(res));
- YPLOG("xfr_2: caller=[%s].%d, auth_ok=%s, domain=%s, tid=%s, prog=%s",
+ YPLOG("xfr_2: caller=[%s].%d, auth_ok=%s, domain=%s, tid=%d, prog=%d",
inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), TORF(ok),
argp->map_parms.domain, argp->transid, argp->prog);
- YPLOG(" ipadd=%s, port=%s, map=%s", inet_ntoa(caller->sin_addr),
+ YPLOG(" ipadd=%s, port=%d, map=%s", inet_ntoa(caller->sin_addr),
argp->port, argp->map_parms.map);
if (!ok) {