summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/rpc.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-12-12 08:35:39 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-12-12 08:35:39 +0000
commit513f8034eee879939cfeb07f7cafb576941085c2 (patch)
treef310072ebe2a9cd8f750e6b2ce3a1b47a367d586 /sys/lib/libsa/rpc.c
parentef267c766d95a9243323b8b93f50fb4ab1a2ef26 (diff)
printf format fix.
Diffstat (limited to 'sys/lib/libsa/rpc.c')
-rw-r--r--sys/lib/libsa/rpc.c4
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;
}