Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Remove bogus XXX comment: a.msg doesn't point to s...



details:   https://anonhg.NetBSD.org/src/rev/bf49e9413fdf
branches:  trunk
changeset: 586338:bf49e9413fdf
user:      cube <cube%NetBSD.org@localhost>
date:      Wed Dec 14 15:27:59 2005 +0000

description:
Remove bogus XXX comment:  a.msg doesn't point to stack data.

diffstat:

 sys/kern/subr_disk_mbr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9f7694d77eba -r bf49e9413fdf sys/kern/subr_disk_mbr.c
--- a/sys/kern/subr_disk_mbr.c  Wed Dec 14 15:23:00 2005 +0000
+++ b/sys/kern/subr_disk_mbr.c  Wed Dec 14 15:27:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_disk_mbr.c,v 1.9 2005/12/14 15:23:00 cube Exp $   */
+/*     $NetBSD: subr_disk_mbr.c,v 1.10 2005/12/14 15:27:59 cube Exp $  */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.9 2005/12/14 15:23:00 cube Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.10 2005/12/14 15:27:59 cube Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -300,7 +300,7 @@
        if (rval == SCAN_CONTINUE)
                return "No disklabel found";
        if (rval == SCAN_ERROR)
-               return a.msg;           /* XXX returning stack string */
+               return a.msg;
        return NULL;
 }
 



Home | Main Index | Thread Index | Old Index