Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Wrap 'old BSD id' warning in DEBUG ifdef.
details: https://anonhg.NetBSD.org/src/rev/e091688d038a
branches: trunk
changeset: 542516:e091688d038a
user: fvdl <fvdl%NetBSD.org@localhost>
date: Fri Jan 31 15:35:04 2003 +0000
description:
Wrap 'old BSD id' warning in DEBUG ifdef.
diffstat:
sys/arch/i386/i386/disksubr.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r ea8d5245c8cb -r e091688d038a sys/arch/i386/i386/disksubr.c
--- a/sys/arch/i386/i386/disksubr.c Fri Jan 31 12:53:32 2003 +0000
+++ b/sys/arch/i386/i386/disksubr.c Fri Jan 31 15:35:04 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.47 2002/10/01 12:56:50 fvdl Exp $ */
+/* $NetBSD: disksubr.c,v 1.48 2003/01/31 15:35:04 fvdl Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.47 2002/10/01 12:56:50 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.48 2003/01/31 15:35:04 fvdl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,7 +93,9 @@
if (!ourdp) {
for (i = 0; i < NMBRPART; i++) {
if (dp[i].mbrp_typ == MBR_PTYPE_386BSD) {
+#ifdef DEBUG
printf("WARNING: old BSD partition ID!\n");
+#endif
ourdp = &dp[i];
/*
* If more than one matches, take last,
Home |
Main Index |
Thread Index |
Old Index