From 2b93d18594b86864a7835e2f76fa3cab191b73bc Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 3 Jan 2005 08:28:34 +0000 Subject: [PATCH] Display only heads and sectors, since that's all that matters. --- extlinux/extlinux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extlinux/extlinux.c b/extlinux/extlinux.c index 2381696..34c00f8 100644 --- a/extlinux/extlinux.c +++ b/extlinux/extlinux.c @@ -352,8 +352,8 @@ get_geometry(int devfd, uint64_t totalbytes, struct hd_geometry *geo) geo->sectors = 32; geo->cylinders = totalbytes/(64*32*512); geo->start = 0; - fprintf(stderr, "Warning: unable to obtain device geometry (defaulting to %s/%s/%s)\n", - geo->cylinders, geo->heads, geo->sectors); + fprintf(stderr, "Warning: unable to obtain device geometry (defaulting to %d heads, %d sectors)\n", + geo->heads, geo->sectors); return 1; } -- 2.7.4