Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern add an XXX comment i meant to include with the orig...



details:   https://anonhg.NetBSD.org/src/rev/e4f8deb2264e
branches:  trunk
changeset: 777422:e4f8deb2264e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Feb 18 06:29:10 2012 +0000

description:
add an XXX comment i meant to include with the original change.

diffstat:

 sys/kern/subr_devsw.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 746cc56c98cf -r e4f8deb2264e sys/kern/subr_devsw.c
--- a/sys/kern/subr_devsw.c     Sat Feb 18 06:17:39 2012 +0000
+++ b/sys/kern/subr_devsw.c     Sat Feb 18 06:29:10 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_devsw.c,v 1.29 2011/12/12 19:03:12 mrg Exp $      */
+/*     $NetBSD: subr_devsw.c,v 1.30 2012/02/18 06:29:10 mrg Exp $      */
 
 /*-
  * Copyright (c) 2001, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.29 2011/12/12 19:03:12 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.30 2012/02/18 06:29:10 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -805,6 +805,7 @@
 
        /*
         * Don't to try lock the device if we're dumping.
+        * XXX: is there a better way to test this?
         */
        if ((boothowto & RB_DUMP) == 0)
                DEV_LOCK(d);



Home | Main Index | Thread Index | Old Index