diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-28 19:39:09 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-28 19:39:09 +0000 |
| commit | 1733a6c1df72e0615ac9083cac1bf4696182cf0f (patch) | |
| tree | 1a25e24e66129f123b0f5d4069518276c2e3df08 /sys/kern/subr_diskslice.c | |
| parent | ce4fb6afc1d2bcd19a7127bdb04733d0afbd6fd4 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_diskslice.c')
| -rw-r--r-- | sys/kern/subr_diskslice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_diskslice.c b/sys/kern/subr_diskslice.c index cde51948c31f..8dde7d6d2250 100644 --- a/sys/kern/subr_diskslice.c +++ b/sys/kern/subr_diskslice.c @@ -43,7 +43,7 @@ * from: wd.c,v 1.55 1994/10/22 01:57:12 phk Exp $ * from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91 * from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $ - * $Id: subr_diskslice.c,v 1.51 1998/07/20 13:51:11 bde Exp $ + * $Id: subr_diskslice.c,v 1.52 1998/07/20 14:35:27 bde Exp $ */ #include "opt_devfs.h" @@ -281,6 +281,7 @@ if (labelsect != 0) Debugger("labelsect != 0 in dscheck()"); return (1); bad: + bp->b_resid = bp->b_bcount; bp->b_flags |= B_ERROR; return (-1); } |
