summaryrefslogtreecommitdiffstats
path: root/sys/ia64/ia64/machdep.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-29 20:26:12 +0000
committerobrien <obrien@FreeBSD.org>2001-03-29 20:26:12 +0000
commit5c460f220d7947e9004377c3330dfa9d4252efa0 (patch)
treeaf60875d7096d621f8f3eac1733e12150b847c88 /sys/ia64/ia64/machdep.c
parent926a83f21a17be20ad661807f34ed2f25a6a25e8 (diff)
downloadFreeBSD-src-5c460f220d7947e9004377c3330dfa9d4252efa0.zip
FreeBSD-src-5c460f220d7947e9004377c3330dfa9d4252efa0.tar.gz
Reduce the emasculation of bounds_check_with_label() by one line, so we
propagate a bio error condition to the caller and above.
Diffstat (limited to 'sys/ia64/ia64/machdep.c')
-rw-r--r--sys/ia64/ia64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index ee804f2..5f954fe 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -1267,8 +1267,8 @@ bounds_check_with_label(struct bio *bp, struct disklabel *lp, int wlabel)
return(1);
bad:
- bp->bio_flags |= BIO_ERROR;
#endif
+ bp->bio_flags |= BIO_ERROR;
return(-1);
}
OpenPOWER on IntegriCloud