Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/bebox/stand/mkbootimage Make sure that this will co...



details:   https://anonhg.NetBSD.org/src/rev/8f50efac0aec
branches:  trunk
changeset: 508396:8f50efac0aec
user:      briggs <briggs%NetBSD.org@localhost>
date:      Wed Apr 11 01:47:18 2001 +0000

description:
Make sure that this will compile on a big-endian system.

diffstat:

 sys/arch/bebox/stand/mkbootimage/mkbootimage.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c7b5a6607535 -r 8f50efac0aec sys/arch/bebox/stand/mkbootimage/mkbootimage.c
--- a/sys/arch/bebox/stand/mkbootimage/mkbootimage.c    Tue Apr 10 22:58:55 2001 +0000
+++ b/sys/arch/bebox/stand/mkbootimage/mkbootimage.c    Wed Apr 11 01:47:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkbootimage.c,v 1.2 2001/02/19 22:48:58 cgd Exp $      */
+/*     $NetBSD: mkbootimage.c,v 1.3 2001/04/11 01:47:18 briggs Exp $   */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -46,7 +46,7 @@
 #if BYTE_ORDER == LITTLE_ENDIAN
 #define        BO(x)   bswap32(x)
 #else
-#define        BO(x)
+#define        BO(x)   (x)
 #endif
 
 static void usage(void);



Home | Main Index | Thread Index | Old Index