summaryrefslogtreecommitdiffstats
path: root/fdisk
diff options
context:
space:
mode:
authorKarel Zak2009-04-28 09:16:32 +0200
committerKarel Zak2009-04-28 09:16:32 +0200
commit279723e92d665b0a782a780de77c7d73b09426c5 (patch)
treeaf7f768384d051edd5a30857c036500ff22bc029 /fdisk
parentblkid: remove whole-disk entries from cache when partitions are found (diff)
downloadkernel-qcow2-util-linux-279723e92d665b0a782a780de77c7d73b09426c5.tar.gz
kernel-qcow2-util-linux-279723e92d665b0a782a780de77c7d73b09426c5.tar.xz
kernel-qcow2-util-linux-279723e92d665b0a782a780de77c7d73b09426c5.zip
cfdisk: fix "cannot seek on disk drive" bug
Addresses-Debian-Bug: #511161 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk')
-rw-r--r--fdisk/cfdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c
index 10ba31a15..96246803e 100644
--- a/fdisk/cfdisk.c
+++ b/fdisk/cfdisk.c
@@ -303,7 +303,7 @@ partition_info ext_info;
int num_parts = 0;
int logical = 0;
-int logical_sectors[MAXIMUM_PARTS];
+long long logical_sectors[MAXIMUM_PARTS];
__sighandler_t old_SIGINT, old_SIGTERM;