diff options
author | Horms <horms@verge.net.au> | 2006-12-20 15:55:10 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2006-12-21 15:29:12 +0900 |
commit | 1f0c1b411631a4ae320a7b450adee8475a8a0e92 (patch) | |
tree | b21dc76590d1e4f2521acbc7ae7ce9b6b377d54e /kexec/arch/ppc64/crashdump-ppc64.c | |
parent | 1e2050cf828181eb125dfdf6af99a4f5170c0462 (diff) |
kexec-tool: Use the appropriate format in debug print statements
Use the appropriate format in debug print statements.
Cc: Sachin P. Sant <sachinp@in.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc64/crashdump-ppc64.c')
-rw-r--r-- | kexec/arch/ppc64/crashdump-ppc64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/arch/ppc64/crashdump-ppc64.c b/kexec/arch/ppc64/crashdump-ppc64.c index 092419c..39879af 100644 --- a/kexec/arch/ppc64/crashdump-ppc64.c +++ b/kexec/arch/ppc64/crashdump-ppc64.c @@ -383,7 +383,8 @@ void add_usable_mem_rgns(unsigned long long base, unsigned long long size) usablemem_rgns.ranges[usablemem_rgns.size++].end = end; #ifdef DEBUG - fprintf(stderr, "usable memory rgns size:%d base:%lx size:%lx\n", usablemem_rgns.size, base, size); + fprintf(stderr, "usable memory rgns size:%u base:%llx size:%llx\n", + usablemem_rgns.size, base, size); #endif } |