From fce0c596cdc017a681b0b19bd864b1a1d188fecb Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 17 Jun 2007 19:21:55 +0000 Subject: [PATCH] Beautification of the output --- klogd.c | 2 +- ksym.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/klogd.c b/klogd.c index be5e769..6cc80ed 100644 --- a/klogd.c +++ b/klogd.c @@ -899,7 +899,7 @@ static void LogLine(char *ptr, int len) break; } - delta = sprintf( sym_start, "%s+%d/%d]", + delta = sprintf( sym_start, "%s+0x%x/0x%02x]", symbol, sym.offset, sym.size ); space = sym_space + delta; diff --git a/ksym.c b/ksym.c index 3bec57f..639bbb7 100644 --- a/ksym.c +++ b/ksym.c @@ -845,7 +845,7 @@ extern char * ExpandKadds(line, el) { --value; ++kp; - elp += sprintf(elp, "+%x/%d", sym.offset, sym.size); + elp += sprintf(elp, "+0x%x/0x%02x", sym.offset, sym.size); } strncat(elp, kp, value); elp += value;