]> err.no Git - util-linux/commitdiff
fdisk: don't check for GPT when asked for disk size only
authorKarel Zak <kzak@redhat.com>
Tue, 19 Aug 2008 09:21:09 +0000 (11:21 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Aug 2008 11:54:38 +0000 (13:54 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/fdisk.c

index af41c5d5a900e0797248767f9c7512ef0676730e..1af4103d3497e5d4c6cc0277eb9e11fd0fb3d333 100644 (file)
@@ -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)