mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-15 01:32:04 +03:00
Fix a printf format specifier on FreeBSD/i386
This is breaking the build on FreeBSD/i386. Originally committed downstream as https://github.com/freebsd/freebsd-src/commit/2d76470b701 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Alan Somers <asomers@gmail.com> Sponsored by: ConnectWise Closes #17705
This commit is contained in:
parent
9c6f72021d
commit
ef9b7dde91
@ -6864,17 +6864,17 @@ print_holds(boolean_t scripted, int nwidth, int tagwidth, nvlist_t *nvl,
|
||||
|
||||
if (scripted) {
|
||||
if (parsable) {
|
||||
(void) printf("%s\t%s\t%ld\n", zname,
|
||||
tagname, time);
|
||||
(void) printf("%s\t%s\t%lld\n", zname,
|
||||
tagname, (long long)time);
|
||||
} else {
|
||||
(void) printf("%s\t%s\t%s\n", zname,
|
||||
tagname, tsbuf);
|
||||
}
|
||||
} else {
|
||||
if (parsable) {
|
||||
(void) printf("%-*s %-*s %ld\n",
|
||||
(void) printf("%-*s %-*s %lld\n",
|
||||
nwidth, zname, tagwidth,
|
||||
tagname, time);
|
||||
tagname, (long long)time);
|
||||
} else {
|
||||
(void) printf("%-*s %-*s %s\n",
|
||||
nwidth, zname, tagwidth,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user