]> err.no Git - util-linux/commitdiff
cfdisk: fix stupid typo in GPT checker call
authorKarel Zak <kzak@redhat.com>
Mon, 2 Jul 2007 13:41:48 +0000 (15:41 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Jul 2007 13:41:48 +0000 (15:41 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/cfdisk.c

index 1117f454ce489c6ccbe67c6b7012436233576fd8..e3941d89bacd795d94591b2d918f771a235dbf88 100644 (file)
@@ -1670,7 +1670,7 @@ fill_p_info(void) {
         opentype = O_RDWR;
     opened = TRUE;
 
-    if (gpt_probe_signature_devname(fd)) {
+    if (gpt_probe_signature_fd(fd)) {
         print_warning(_("Warning!!  Unsupported GPT (GUID Partition Table) detected. Use GNU Parted."));
         refresh();
         getch();