From 3174598ae340f80914af67c29f4d00f6a76e1821 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 af41c5d5..1af4103d 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -2682,7 +2682,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