summaryrefslogtreecommitdiffstats
path: root/fdisk/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2012-05-15 17:43:49 +0200
committerKarel Zak2012-05-15 17:43:49 +0200
commit00695059323767ae5612e664df972f4b4ef5a001 (patch)
tree4cde5d9f7fdb4dd378c1025e3485baa07dc6132a /fdisk/cfdisk.c
parentdisk-utils: cleanup strtoxx_or_err() (diff)
downloadkernel-qcow2-util-linux-00695059323767ae5612e664df972f4b4ef5a001.tar.gz
kernel-qcow2-util-linux-00695059323767ae5612e664df972f4b4ef5a001.tar.xz
kernel-qcow2-util-linux-00695059323767ae5612e664df972f4b4ef5a001.zip
fdisk: cleanup strtoxx_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/cfdisk.c')
-rw-r--r--fdisk/cfdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c
index bb7d8f5b9..967a1034c 100644
--- a/fdisk/cfdisk.c
+++ b/fdisk/cfdisk.c
@@ -2776,7 +2776,7 @@ main(int argc, char **argv)
arrow_cursor = TRUE;
break;
case 'c':
- user_cylinders = cylinders = strtoll_or_err(optarg, _("cannot parse number of cylinders"));
+ user_cylinders = cylinders = strtos64_or_err(optarg, _("cannot parse number of cylinders"));
if (cylinders <= 0) {
fprintf(stderr, "%s: %s\n", argv[0], _("Illegal cylinders value"));
exit(1);