summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
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/mac68k
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/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/disksubr.c b/sys/arch/mac68k/mac68k/disksubr.c
index ad775c8b45c..4455c2014c5 100644
--- a/sys/arch/mac68k/mac68k/disksubr.c
+++ b/sys/arch/mac68k/mac68k/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.33 2007/05/29 06:28:15 otto Exp $ */
+/* $OpenBSD: disksubr.c,v 1.34 2007/05/31 16:05:50 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.22 1997/11/26 04:18:20 briggs Exp $ */
/*
@@ -611,5 +611,5 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
bad:
bp->b_flags |= B_ERROR;
done:
- return (0);
+ return (-1);
}