summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-15 01:06:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-15 01:06:45 +0000
commit54b215b8b135475a18eba420500ed718f7d72a87 (patch)
treef3a4a6579a5f003669389f974d900db77139e72d /sys/lib
parent3515fc15eb42adfe40e8533e9dbde4657083e5f0 (diff)
from netbsd: The read_inode() function now returns the result of the
strategy function instead of success in all cases
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/ufs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/ufs.c b/sys/lib/libsa/ufs.c
index dab31d94610..041ebb90a27 100644
--- a/sys/lib/libsa/ufs.c
+++ b/sys/lib/libsa/ufs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs.c,v 1.13 1995/10/20 00:42:21 cgd Exp $ */
+/* $NetBSD: ufs.c,v 1.14 1996/01/13 22:25:44 leo Exp $ */
/*-
* Copyright (c) 1993
@@ -152,7 +152,7 @@ read_inode(inumber, f)
}
out:
free(buf, fs->fs_bsize);
- return (0);
+ return (rc);
}
/*