Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/stand/boot Add diagnostic message. (for debugg...
details: https://anonhg.NetBSD.org/src/rev/11086cb7feb6
branches: trunk
changeset: 584454:11086cb7feb6
user: nsmrtks <nsmrtks%NetBSD.org@localhost>
date: Sun Sep 18 16:12:34 2005 +0000
description:
Add diagnostic message. (for debugging with 060)
diffstat:
sys/arch/x68k/stand/boot/boot.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r d785c63a7ebc -r 11086cb7feb6 sys/arch/x68k/stand/boot/boot.c
--- a/sys/arch/x68k/stand/boot/boot.c Sun Sep 18 14:30:15 2005 +0000
+++ b/sys/arch/x68k/stand/boot/boot.c Sun Sep 18 16:12:34 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.8 2001/12/02 14:25:44 minoura Exp $ */
+/* $NetBSD: boot.c,v 1.9 2005/09/18 16:12:34 nsmrtks Exp $ */
/*
* Copyright (c) 2001 Minoura Makoto
@@ -107,8 +107,10 @@
printf("Starting %s, flags 0x%x\n", file, flags);
marks[MARK_START] = 0x100000;
- if ((fd = loadfile(file, marks, LOAD_KERNEL)) == -1)
+ if ((fd = loadfile(file, marks, LOAD_KERNEL)) == -1) {
+ printf("loadfile failed\n");
return;
+ }
close(fd);
if (devparse(file, &dev, &unit, &part, &name) != 0) {
Home |
Main Index |
Thread Index |
Old Index