summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorHeikki Korpela <heko@cvs.openbsd.org>2001-08-12 12:03:04 +0000
committerHeikki Korpela <heko@cvs.openbsd.org>2001-08-12 12:03:04 +0000
commit8733d65e598e20f5a4415a710e9c51ab3a3d323d (patch)
tree39173461770e11f8ad331e9aa18365fc4ab2d19f /sys/arch/mac68k
parentbbbc80b14c0c9c05eb40dfe595d4893002a710bf (diff)
#(endif|else) foo is incorrect, make it #endif /* foo */
deraadt@ ok
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/disksubr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/mac68k/mac68k/disksubr.c b/sys/arch/mac68k/mac68k/disksubr.c
index 32acf8f66ed..966df12d89c 100644
--- a/sys/arch/mac68k/mac68k/disksubr.c
+++ b/sys/arch/mac68k/mac68k/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.13 2000/10/18 21:00:36 mickey Exp $ */
+/* $OpenBSD: disksubr.c,v 1.14 2001/08/12 12:03:02 heko Exp $ */
/* $NetBSD: disksubr.c,v 1.22 1997/11/26 04:18:20 briggs Exp $ */
/*
@@ -574,7 +574,7 @@ setdisklabel(olp, nlp, openmask, osdep)
nlp->d_checksum = 0;
nlp->d_checksum = dkcksum(nlp);
*olp = *nlp;
-#endif
+#endif /* #if 0 */
return (0);
}
@@ -630,7 +630,7 @@ done:
return (error);
#else
return 0;
-#endif
+#endif /* #if 0 */
}
/*
@@ -664,12 +664,12 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
if (bp->b_blkno + p->p_offset <= LABELSECTOR + labelsect &&
#if LABELSECTOR != 0
bp->b_blkno + p->p_offset + sz > LABELSECTOR + labelsect &&
-#endif
+#endif /* LABELSECTOR != 0 */
(bp->b_flags & B_READ) == 0 && wlabel == 0) {
bp->b_error = EROFS;
goto bad;
}
-#endif
+#endif /* #if 0 */
#if defined(DOSBBSECTOR) && defined(notyet)
/* overwriting master boot record? */