summaryrefslogtreecommitdiff
path: root/nfs/ops.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-02 14:12:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-02 14:12:23 +0000
commitcd8f416c4a1930b93d6c0911d543f67c95ced54d (patch)
tree0b28d51db08d0e144f7a03e12b423c8a8daa8f23 /nfs/ops.c
parentfe53c70d21b89299452237747282cc344396000e (diff)
(netfs_report_access): Bother to initialize LEN.
Diffstat (limited to 'nfs/ops.c')
-rw-r--r--nfs/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfs/ops.c b/nfs/ops.c
index 417cc4af..a92a3bf0 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -959,7 +959,7 @@ netfs_report_access (struct netcred *cred,
here we err on the side of denying access, and that we always
have to check everything. */
-
+ len = 1;
err = netfs_attempt_read (cred, np, 0, &len, &byte);
if (err)
{