printf("recvrpc: reject, astat=%ld, errno=%d\n", x, errno);
printf("recvrpc: reject, astat=%d, errno=%d\n", x, errno);
recvrpc(d, pkt, len, tleft)	register struct iodesc *d;	register void *pkt;	register size_t len;	time_t tleft;{	register struct rpc_reply *reply;	ssize_t	n;	int	x;	errno = 0;#ifdef RPC_DEBUG	if (debug)		printf("recvrpc: called len=%d\n", len);#endif	n = readudp(d, pkt, len, tleft);	if (n <= (4 * 4))		return -1;	reply = (struct rpc_reply *)pkt;	x = ntohl(reply->rp_xid);	if (x != rpc_xid) {#ifdef RPC_DEBUG		if (debug)			printf("recvrpc: rp_xid %ld != xid %d\n", x, rpc_xid);#endif		return -1;	}	x = ntohl(reply->rp_direction);	if (x != RPC_REPLY) {#ifdef RPC_DEBUG		if (debug)			printf("recvrpc: rp_direction %ld != REPLY\n", x);#endif		return -1;	}	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);		return -1;	}	/* Return data count (thus indicating success) */	return (n);}