Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa move a debug printf to FD_DEBUG.
details: https://anonhg.NetBSD.org/src/rev/bb11aa880f9d
branches: trunk
changeset: 756965:bb11aa880f9d
user: chs <chs%NetBSD.org@localhost>
date: Sun Aug 08 18:24:34 2010 +0000
description:
move a debug printf to FD_DEBUG.
diffstat:
sys/dev/isa/fd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4a36717c44d3 -r bb11aa880f9d sys/dev/isa/fd.c
--- a/sys/dev/isa/fd.c Sun Aug 08 18:22:39 2010 +0000
+++ b/sys/dev/isa/fd.c Sun Aug 08 18:24:34 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.96 2010/03/16 12:53:17 he Exp $ */
+/* $NetBSD: fd.c,v 1.97 2010/08/08 18:24:34 chs Exp $ */
/*-
* Copyright (c) 1998, 2003, 2008 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.96 2010/03/16 12:53:17 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.97 2010/08/08 18:24:34 chs Exp $");
#include "rnd.h"
#include "opt_ddb.h"
@@ -1625,7 +1625,7 @@
bp->b_bcount = sizeof(struct fd_idfield_data) * finfo->fd_formb_nsecs;
bp->b_data = (void *)finfo;
-#ifdef DEBUG
+#ifdef FD_DEBUG
printf("fdformat: blkno %" PRIx64 " count %x\n",
bp->b_blkno, bp->b_bcount);
#endif
Home |
Main Index |
Thread Index |
Old Index