From: deraadt Date: Mon, 15 Jan 1996 01:06:44 +0000 (+0000) Subject: from netbsd: The read_inode() function now returns the result of the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6e48009803030077069532d9e43fb73898075fe2;p=openbsd from netbsd: The read_inode() function now returns the result of the strategy function instead of success in all cases --- 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); } /*