summaryrefslogtreecommitdiff
path: root/fdisk
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2008-08-19 11:21:09 +0200
committerKarel Zak <kzak@redhat.com>2008-08-19 13:54:38 +0200
commit3174598ae340f80914af67c29f4d00f6a76e1821 (patch)
tree4a63af620f2a7ee8027d75c301b216da58195265 /fdisk
parentee5355e0052889792601c18cae2db0c17d68f61b (diff)
downloadutil-linux-old-3174598ae340f80914af67c29f4d00f6a76e1821.tar.gz
fdisk: don't check for GPT when asked for disk size only
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk')
-rw-r--r--fdisk/fdisk.c1
1 files changed, 0 insertions, 1 deletions
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)