From: Karel Zak Date: Tue, 19 Aug 2008 09:21:09 +0000 (+0200) Subject: fdisk: don't check for GPT when asked for disk size only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3174598ae340f80914af67c29f4d00f6a76e1821;p=util-linux fdisk: don't check for GPT when asked for disk size only Signed-off-by: Karel Zak --- 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)