diff options
author | Han Pingtian <hanpt@linux.vnet.ibm.com> | 2012-01-09 18:02:30 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-01-10 07:39:39 +0900 |
commit | 22b32ab541518957f71ffc9916881c16265534d1 (patch) | |
tree | b9fc2bcc6e1d1a211cfeab7220ad7cdef41a2782 | |
parent | 746723f266fff28223899e9b366f14d4854b08ff (diff) | |
download | kexec-tools-22b32ab541518957f71ffc9916881c16265534d1.tar.gz |
Correct magic varible of function name in debug code
The magic varible of function name should be uppercase.
Signed-off-by: Han Pingtian <hanpt@linux.vnet.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/crashdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/crashdump.c b/kexec/crashdump.c index e7ac42cf..847d0809 100644 --- a/kexec/crashdump.c +++ b/kexec/crashdump.c @@ -103,7 +103,7 @@ int get_crash_notes_per_cpu(int cpu, uint64_t *addr, uint64_t *len) *addr = (uint64_t) temp; *len = MAX_NOTE_BYTES; /* we should get this from the kernel instead */ #ifdef DEBUG - printf("%s: crash_notes addr = %Lx\n", __function__, *addr); + printf("%s: crash_notes addr = %Lx\n", __FUNCTION__, *addr); #endif fclose(fp); |