Return to nfs.c CVS log | Up to [cvs.NetBSD.org] / src / sys / lib / libsa |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.14, 1996/02/26 23:05:21 | version 1.15, 1996/05/14 10:28:26 | ||
---|---|---|---|
|
|
||
rlen = cc - hlen; | rlen = cc - hlen; | ||
x = ntohl(repl->count); | x = ntohl(repl->count); | ||
if (rlen < x) { | if (rlen < x) { | ||
printf("nfsread: short packet, %d < %d\n", rlen, x); | printf("nfsread: short packet, %d < %ld\n", rlen, x); | ||
errno = EBADRPC; | errno = EBADRPC; | ||
return(-1); | return(-1); | ||
} | } |