Source-Changes-HG archive

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

[src/netbsd-1-6]: src/usr.sbin/mopd/mopcopy Pull up revision 1.2 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/12faab20d255
branches:  netbsd-1-6
changeset: 529724:12faab20d255
user:      he <he%NetBSD.org@localhost>
date:      Wed Dec 11 17:21:21 2002 +0000

description:
Pull up revision 1.2 (requested by thorpej in ticket #960):
  Show the load address in hex.

diffstat:

 usr.sbin/mopd/mopcopy/mopcopy.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b6419590b687 -r 12faab20d255 usr.sbin/mopd/mopcopy/mopcopy.c
--- a/usr.sbin/mopd/mopcopy/mopcopy.c   Tue Dec 10 07:17:55 2002 +0000
+++ b/usr.sbin/mopd/mopcopy/mopcopy.c   Wed Dec 11 17:21:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mopcopy.c,v 1.1.2.2 2002/06/07 18:47:18 thorpej Exp $  */
+/*     $NetBSD: mopcopy.c,v 1.1.2.3 2002/12/11 17:21:21 he Exp $       */
 
 /* mopcopy - Convert a Unix format kernel into something that
  * can be transfered via MOP.
@@ -49,7 +49,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mopcopy.c,v 1.1.2.2 2002/06/07 18:47:18 thorpej Exp $");
+__RCSID("$NetBSD: mopcopy.c,v 1.1.2.3 2002/12/11 17:21:21 he Exp $");
 #endif
 
 #include "os.h"
@@ -170,7 +170,7 @@
                        fprintf(stderr, "%s%u+%u", j == 0 ? "" : "+",
                            dl.e_sections[j].s_fsize,
                            dl.e_sections[j].s_pad);
-               fprintf(stderr, "->%u\n", dl.xferaddr);
+               fprintf(stderr, "->0x%x\n", dl.xferaddr);
 #endif
                break;
 
@@ -178,7 +178,7 @@
 #ifdef NOAOUT
                abort();
 #else
-               fprintf(stderr, "copying %u+%u+%u->%u\n", dl.a_text,
+               fprintf(stderr, "copying %u+%u+%u->0x%x\n", dl.a_text,
                    dl.a_data, dl.a_bss, dl.xferaddr);
 #endif
                break;



Home | Main Index | Thread Index | Old Index