summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
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/hppa64
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/hppa64')
-rw-r--r--sys/arch/hppa64/hppa64/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/hppa64/disksubr.c b/sys/arch/hppa64/hppa64/disksubr.c
index 678dfee3469..55c1190e3d2 100644
--- a/sys/arch/hppa64/hppa64/disksubr.c
+++ b/sys/arch/hppa64/hppa64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.32 2007/05/29 06:28:15 otto Exp $ */
+/* $OpenBSD: disksubr.c,v 1.33 2007/05/31 16:05:50 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -736,5 +736,5 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
bad:
bp->b_flags |= B_ERROR;
done:
- return (0);
+ return (-1);
}