From: mickey Date: Thu, 12 Dec 1996 08:35:38 +0000 (+0000) Subject: printf format fix. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=288136e79bc7ba1a3d6cf224cbdd4e8fc6a943a8;p=openbsd printf format fix. --- diff --git a/sys/lib/libsa/rpc.c b/sys/lib/libsa/rpc.c index 07583710c83..5f78a869cd2 100644 --- a/sys/lib/libsa/rpc.c +++ b/sys/lib/libsa/rpc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rpc.c,v 1.7 1996/12/08 15:15:56 niklas Exp $ */ +/* $OpenBSD: rpc.c,v 1.8 1996/12/12 08:35:38 mickey Exp $ */ /* $NetBSD: rpc.c,v 1.16 1996/10/13 02:29:06 christos Exp $ */ /* @@ -275,7 +275,7 @@ recvrpc(d, pkt, len, tleft) x = ntohl(reply->rp_astatus); if (x != RPC_MSGACCEPTED) { errno = ntohl(reply->rp_u.rpu_errno); - printf("recvrpc: reject, astat=%ld, errno=%d\n", x, errno); + printf("recvrpc: reject, astat=%d, errno=%d\n", x, errno); return -1; }