tweak an error message.

This commit is contained in:
grant 2004-11-13 08:12:50 +00:00
parent 0de9e471b6
commit 068c31fe44
2 changed files with 7 additions and 7 deletions

View File

@ -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 @@ filename(str, ppart)
/* ...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 @@ devopen(of, name, file)
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)

View File

@ -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 @@ sparc_bus_unmap(t, bh, size)
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);