diff options
author | 1996-12-12 08:35:38 +0000 | |
---|---|---|
committer | 1996-12-12 08:35:38 +0000 | |
commit | 288136e79bc7ba1a3d6cf224cbdd4e8fc6a943a8 (patch) | |
tree | 9150d38dc8fd8e47c8f63e8d2328cad64b27c56d /sys/lib/libsa/rpc.c | |
parent | <sys/stat.h> missed. (diff) | |
download | wireguard-openbsd-288136e79bc7ba1a3d6cf224cbdd4e8fc6a943a8.tar.xz wireguard-openbsd-288136e79bc7ba1a3d6cf224cbdd4e8fc6a943a8.zip |
printf format fix.
Diffstat (limited to 'sys/lib/libsa/rpc.c')
-rw-r--r-- | sys/lib/libsa/rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |