summaryrefslogtreecommitdiffstats
path: root/sys/vm/vnode_pager.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-10-14 00:57:19 +0000
committerdg <dg@FreeBSD.org>1994-10-14 00:57:19 +0000
commit67535793f77fc4dbd724b19b248ced8318f5689f (patch)
tree62fa328166eea5bce4499e7631e9d1c10830fc2b /sys/vm/vnode_pager.c
parent04264ac71182739687dfc84b8c778b581c7eeb70 (diff)
downloadFreeBSD-src-67535793f77fc4dbd724b19b248ced8318f5689f.zip
FreeBSD-src-67535793f77fc4dbd724b19b248ced8318f5689f.tar.gz
Changed I/O error messages to be somewhat less cryptic. Removed a piece
of unused code.
Diffstat (limited to 'sys/vm/vnode_pager.c')
-rw-r--r--sys/vm/vnode_pager.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index 3b1b0af..19ccfcc 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91
- * $Id: vnode_pager.c,v 1.9 1994/10/05 09:48:45 davidg Exp $
+ * $Id: vnode_pager.c,v 1.10 1994/10/09 01:52:19 phk Exp $
*/
/*
@@ -785,7 +785,6 @@ vnode_pager_input(vnp, m, count, reqpage)
int s;
int failflag;
- int errtype = 0; /* 0 is file type otherwise vm type */
int error = 0;
object = m[reqpage]->object; /* all vm_page_t items are in same
@@ -1131,10 +1130,8 @@ finishup:
}
}
if (error) {
- printf("vnode pager read error: %d\n", error);
+ printf("vnode_pager_input: read error\n";
}
- if (errtype)
- return error;
return (error ? VM_PAGER_FAIL : VM_PAGER_OK);
}
@@ -1491,7 +1488,7 @@ retryoutput:
goto retryoutput;
}
if (error) {
- printf("vnode pager write error: %d\n", error);
+ printf("vnode_pager_output: write error\n";
}
return (error ? VM_PAGER_FAIL : VM_PAGER_OK);
}
OpenPOWER on IntegriCloud