diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-08-15 19:41:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-08-15 19:41:00 +0000 |
commit | 4a65b846e1262810668c5e103e90820d61de7d45 (patch) | |
tree | 87e7766b3747754de4dddde01d29d456df71c847 /sys/lib/libsa/nfs.c | |
parent | 81d2e159ca3279d7484fba64740948f95c282649 (diff) |
Use signed variables to store the result of rpc_call().
Diffstat (limited to 'sys/lib/libsa/nfs.c')
-rw-r--r-- | sys/lib/libsa/nfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c index e80a35be669..2b85570a652 100644 --- a/sys/lib/libsa/nfs.c +++ b/sys/lib/libsa/nfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs.c,v 1.12 2014/11/19 20:28:56 miod Exp $ */ +/* $OpenBSD: nfs.c,v 1.13 2015/08/15 19:40:59 miod Exp $ */ /* $NetBSD: nfs.c,v 1.19 1996/10/13 02:29:04 christos Exp $ */ /*- @@ -121,7 +121,7 @@ nfs_getrootfh(struct iodesc *d, const char *path, u_char *fhp) u_int32_t h[RPC_HEADER_WORDS]; struct repl d; } rdata; - size_t cc; + ssize_t cc; #ifdef NFS_DEBUG if (debug) @@ -280,7 +280,7 @@ nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len) u_int32_t h[RPC_HEADER_WORDS]; struct nfs_read_repl d; } rdata; - size_t cc; + ssize_t cc; long x; int hlen, rlen; |