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/xxboot Make compilable even with XXBOOT_...
details: https://anonhg.NetBSD.org/src/rev/90e38a6204a9
branches: trunk
changeset: 974848:90e38a6204a9
user: isaki <isaki%NetBSD.org@localhost>
date: Fri Aug 14 02:51:48 2020 +0000
description:
Make compilable even with XXBOOT_DEBUG.
diffstat:
sys/arch/x68k/stand/xxboot/bootmain.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 1a2a60d41841 -r 90e38a6204a9 sys/arch/x68k/stand/xxboot/bootmain.c
--- a/sys/arch/x68k/stand/xxboot/bootmain.c Fri Aug 14 01:14:17 2020 +0000
+++ b/sys/arch/x68k/stand/xxboot/bootmain.c Fri Aug 14 02:51:48 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootmain.c,v 1.4 2012/11/17 19:10:46 tsutsui Exp $ */
+/* $NetBSD: bootmain.c,v 1.5 2020/08/14 02:51:48 isaki Exp $ */
/*-
* Copyright (c) 1993, 1994 Takumi Nakamura.
@@ -135,7 +135,8 @@
/* floppy */
#ifdef XXBOOT_DEBUG
*(uint32_t *)bootdevstr =
- ('f' << 24 | 'd' << 16 | '@' << 8 | '0' + (BOOT_INFO & 3));
+ ('f' << 24) | ('d' << 16) | ('@' << 8) |
+ ('0' + (BOOT_INFO & 3));
bootdevstr[4] = '\0';
#endif
/* fdNa for 1024 bytes/sector, fdNc for 512 bytes/sector */
Home |
Main Index |
Thread Index |
Old Index