mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Cast to intmax_t when using %jd format.
MFC after: 3 days
This commit is contained in:
parent
2353e77b0f
commit
e075f345b6
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ main(int argc, char *argv[])
|
|||
fssize = mediasize / sectorsize;
|
||||
else if (fssize > mediasize / sectorsize)
|
||||
errx(1, "%s: maximum file system size is %jd",
|
||||
special, (off_t)(mediasize / sectorsize));
|
||||
special, (intmax_t)(mediasize / sectorsize));
|
||||
}
|
||||
pp = NULL;
|
||||
lp = getdisklabel(special);
|
||||
|
|
|
|||
Loading…
Reference in a new issue