From fbbdb598a014aa555e016101faaaaa05a0139ff1 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 19 Aug 2008 11:21:09 +0200 Subject: [PATCH] fdisk: don't check for GPT when asked for disk size only Signed-off-by: Karel Zak --- fdisk/fdisk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 58b8bbde..0559717d 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -2665,7 +2665,6 @@ main(int argc, char **argv) { for (j = optind; j < argc; j++) { disk_device = argv[j]; - gpt_warning(disk_device); if ((fd = open(disk_device, type_open)) < 0) fatal(unable_to_open); if (blkdev_get_sectors(fd, &size) == -1) -- 2.39.5