Replace OFF_MAX with INT64_MAX. The former is defined on Linux.

This commit is contained in:
Marcel Moolenaar 2016-10-03 04:00:30 +00:00
parent 6b1235713e
commit 4ac1e8d30f

View File

@ -496,7 +496,7 @@ main(int argc, char *argv[])
err(EX_UNAVAILABLE, "%s", optarg);
break;
case 'c': /* CAPACITY */
error = parse_uint64(&capacity, 1, OFF_MAX, optarg);
error = parse_uint64(&capacity, 1, INT64_MAX, optarg);
if (error)
errc(EX_DATAERR, error, "capacity in bytes");
break;