Return-path: Received: from e8.ny.us.ibm.com ([32.97.182.138]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RkC4U-0002Gm-Iz for kexec@lists.infradead.org; Mon, 09 Jan 2012 10:03:19 +0000 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Jan 2012 05:03:15 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q09A2Lcs176888 for ; Mon, 9 Jan 2012 05:02:21 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q09A2KIH032593 for ; Mon, 9 Jan 2012 08:02:20 -0200 Date: Mon, 9 Jan 2012 18:02:30 +0800 From: Han Pingtian Subject: [PATCH] Correct magic varible of function name in debug code Message-ID: <20120109100230.GA29322@hpt.localdomain> MIME-Version: 1.0 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: kexec@lists.infradead.org Cc: horms@verge.net.au The magic varible of function name should be uppercase. Signed-off-by: Han Pingtian --- kexec/crashdump.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kexec/crashdump.c b/kexec/crashdump.c index e7ac42c..847d080 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); -- 1.7.6.5 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec