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 Fix my mistake of previous commit.
details: https://anonhg.NetBSD.org/src/rev/96845da066ef
branches: trunk
changeset: 346098:96845da066ef
user: isaki <isaki%NetBSD.org@localhost>
date: Sat Jun 25 16:05:43 2016 +0000
description:
Fix my mistake of previous commit.
diffstat:
sys/arch/x68k/stand/boot/boot.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (32 lines):
diff -r 5c9568492d4c -r 96845da066ef sys/arch/x68k/stand/boot/boot.c
--- a/sys/arch/x68k/stand/boot/boot.c Sat Jun 25 14:35:58 2016 +0000
+++ b/sys/arch/x68k/stand/boot/boot.c Sat Jun 25 16:05:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.27 2016/06/25 14:35:58 isaki Exp $ */
+/* $NetBSD: boot.c,v 1.28 2016/06/25 16:05:43 isaki Exp $ */
/*
* Copyright (c) 2001 Minoura Makoto
@@ -157,15 +157,15 @@
printf("boot device = %x\n", bootdev);
if (file[0] == 'n') {
printf("if = %d, unit = %d\n",
- B_X68K_SCSI_IF(dev),
- B_X68K_SCSI_IF_UN(dev));
+ B_X68K_SCSI_IF(bootdev),
+ B_X68K_SCSI_IF_UN(bootdev));
} else {
printf("if = %d, unit = %d, id = %d, lun = %d, part = %c\n",
- B_X68K_SCSI_IF(dev),
- B_X68K_SCSI_IF_UN(dev),
- B_X68K_SCSI_ID(dev),
- B_X68K_SCSI_LUN(dev),
- B_X68K_SCSI_PART(dev) + 'a');
+ B_X68K_SCSI_IF(bootdev),
+ B_X68K_SCSI_IF_UN(bootdev),
+ B_X68K_SCSI_ID(bootdev),
+ B_X68K_SCSI_LUN(bootdev),
+ B_X68K_SCSI_PART(bootdev) + 'a');
}
#endif
Home |
Main Index |
Thread Index |
Old Index