summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-05-31 16:05:51 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-05-31 16:05:51 +0000
commit30ebea4b6a1a94853d75859fe42e569cd1d06289 (patch)
treea06a609229b0583c55fb62d004f46be15e8cc252 /sys/arch/alpha
parent6c230ec664682602e08cdef80d616804fcc4bd0c (diff)
Standardize on -1 as the error return value for
bounds_check_with_label. All callers check for <= 0, so no functional change. Feedback from miod@. ok weingart@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c
index 8fe69125170..297c29235e8 100644
--- a/sys/arch/alpha/alpha/disksubr.c
+++ b/sys/arch/alpha/alpha/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.69 2007/05/29 06:28:14 otto Exp $ */
+/* $OpenBSD: disksubr.c,v 1.70 2007/05/31 16:05:50 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -586,5 +586,5 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
bad:
bp->b_flags |= B_ERROR;
done:
- return (0);
+ return (-1);
}