diff --git a/src/fstrim.c b/src/fstrim.c index f1f37eca..e23bcb38 100644 --- a/src/fstrim.c +++ b/src/fstrim.c @@ -97,7 +97,7 @@ static unsigned long long get_number(char **optarg) } errno = 0; - number = strtoul(opt, &end , 0); + number = strtoull(opt, &end , 0); if (errno) err_exit("%s: %s (%s)\n", program_name, strerror(errno), *optarg);