mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-23 16:01:42 +00:00
Replace OFF_MAX with INT64_MAX. The former is defined on Linux.
This commit is contained in:
parent
6b1235713e
commit
4ac1e8d30f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306622
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user