Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib don't printf(NULL), not even in the ...
details: https://anonhg.NetBSD.org/src/rev/16f026bfe555
branches: trunk
changeset: 472986:16f026bfe555
user: drochner <drochner%NetBSD.org@localhost>
date: Sat May 15 15:42:23 1999 +0000
description:
don't printf(NULL), not even in the DEBUG case
(It doesn't hurt the bootloader, but the junk output hangs my serial
console.)
diffstat:
sys/arch/i386/stand/lib/exec.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0d5ee2460999 -r 16f026bfe555 sys/arch/i386/stand/lib/exec.c
--- a/sys/arch/i386/stand/lib/exec.c Sat May 15 14:45:06 1999 +0000
+++ b/sys/arch/i386/stand/lib/exec.c Sat May 15 15:42:23 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.12 1999/04/28 09:15:05 christos Exp $ */
+/* $NetBSD: exec.c,v 1.13 1999/05/15 15:42:23 drochner Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -107,7 +107,8 @@
#endif
#ifdef DEBUG
- printf("exec: file=%s loadaddr=0x%lx\n", file, loadaddr);
+ printf("exec: file=%s loadaddr=0x%lx\n",
+ file ? file : "NULL", loadaddr);
#endif
BI_ALLOC(6); /* ??? */
Home |
Main Index |
Thread Index |
Old Index