Source-Changes-HG archive

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

[src/trunk]: src/sys/arch tweak an error message.



details:   https://anonhg.NetBSD.org/src/rev/513aa58c89ed
branches:  trunk
changeset: 571188:513aa58c89ed
user:      grant <grant%NetBSD.org@localhost>
date:      Sat Nov 13 08:12:50 2004 +0000

description:
tweak an error message.

diffstat:

 sys/arch/sparc/stand/ofwboot/ofdev.c |  8 ++++----
 sys/arch/sparc64/sparc64/machdep.c   |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r b5ab44392d9b -r 513aa58c89ed sys/arch/sparc/stand/ofwboot/ofdev.c
--- a/sys/arch/sparc/stand/ofwboot/ofdev.c      Sat Nov 13 08:08:22 2004 +0000
+++ b/sys/arch/sparc/stand/ofwboot/ofdev.c      Sat Nov 13 08:12:50 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofdev.c,v 1.5 2004/06/18 21:04:39 martin Exp $ */
+/*     $NetBSD: ofdev.c,v 1.6 2004/11/13 08:13:58 grant Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -82,7 +82,7 @@
                /* ...look whether there is a device with this name */
                dhandle = OF_finddevice(str);
 #ifdef NOTDEF_DEBUG
-               printf("filename: OF_finddevice(%s) sez %x\n",
+               printf("filename: OF_finddevice(%s) returned %x\n",
                       str, dhandle);
 #endif
                *cp = savec;
@@ -476,11 +476,11 @@
                             LABELSECTOR, DEV_BSIZE, buf, &read) != 0
                    || read != DEV_BSIZE
                    || (errmsg = getdisklabel(buf, &label))) {
-                       if (errmsg) printf("devopen: getdisklabel sez %s\n", errmsg);
+                       if (errmsg) printf("devopen: getdisklabel returned %s\n", errmsg);
                        /* Else try MBR partitions */
                        errmsg = search_label(&ofdev, 0, buf, &label, 0);
                        if (errmsg) { 
-                               printf("devopen: search_label sez %s\n", errmsg);
+                               printf("devopen: search_label returned %s\n", errmsg);
                                error = ERDLAB;
                        }
                        if (error && error != ERDLAB)
diff -r b5ab44392d9b -r 513aa58c89ed sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c        Sat Nov 13 08:08:22 2004 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c        Sat Nov 13 08:12:50 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.173 2004/11/08 16:11:02 kleink Exp $ */
+/*     $NetBSD: machdep.c,v 1.174 2004/11/13 08:12:50 grant Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.173 2004/11/08 16:11:02 kleink Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.174 2004/11/13 08:12:50 grant Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -1798,7 +1798,7 @@
        if (PHYS_ASI(bh._asi)) return (0);
 
        error = extent_free(io_space, va, size, EX_NOWAIT);
-       if (error) printf("sparc_bus_unmap: extent free sez %d\n", error);
+       if (error) printf("sparc_bus_unmap: extent_free returned %d\n", error);
 
        pmap_remove(pmap_kernel(), va, endva);
        return (0);



Home | Main Index | Thread Index | Old Index