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=fbbdb598a014aa555e016101faaaaa05a0139ff1;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 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)