summaryrefslogtreecommitdiff
path: root/kdump
diff options
context:
space:
mode:
authorMohan <mohan@in.ibm.com>2006-07-27 11:16:39 -0600
committerEric W. Biederman <ebiederm@xmission.com>2006-07-27 11:16:39 -0600
commit742b147db61c45cc00db63eea7b23d0a462e56c8 (patch)
tree241f8411f101176ae6a02163641891371a75c42c /kdump
parentad0f10320e3393d7ca699ac5bcc81726994220c7 (diff)
Cleanup the warnings in gcc-4.1.0 compilation
Cleanup the warnings generated in GCC 4.1.0 compilation of kexec-tools. This patch is created on top of the following level of kexec-tools: - kexec-tools-1.101.tar.gz (from eric biederman's site or from lse site) - kexec-tools-1.101-kdump6.patch (consolidated patch posted on http://lse.sourceforge.net/kdump/patches/1.101-kdump6/kexec-tools-1.101-kdump6.patch) Review and suggestions are welcome. Note: Resending the patch since its not delivered to both fastboot and linuxppc64-dev mailing list. Regards, Mohan. Signed-off-by: Mohan <mohan@in.ibm.com> Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Diffstat (limited to 'kdump')
-rw-r--r--kdump/kdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdump/kdump.c b/kdump/kdump.c
index 6745982..e3a7c99 100644
--- a/kdump/kdump.c
+++ b/kdump/kdump.c
@@ -54,7 +54,7 @@ static void *xmalloc(size_t size)
result = malloc(size);
if (result == NULL) {
fprintf(stderr, "malloc of %u bytes failed: %s\n",
- size, strerror(errno));
+ (unsigned int)size, strerror(errno));
exit(7);
}
return result;