summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-03 08:28:34 +0000
committerhpa <hpa>2005-01-03 08:28:34 +0000
commit2b93d18594b86864a7835e2f76fa3cab191b73bc (patch)
tree7b618e503ec6c1e85b89a1582244664218e20a9e
parentdea185cee5808a3fda7d84f0e8683c2d08c71395 (diff)
downloadsyslinux-2b93d18594b86864a7835e2f76fa3cab191b73bc.tar.gz
Display only heads and sectors, since that's all that matters.
-rw-r--r--extlinux/extlinux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extlinux/extlinux.c b/extlinux/extlinux.c
index 23816960..34c00f87 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;
}