mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01: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 <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Alan Somers <[email protected]> Sponsored by: ConnectWise Closes #17705
This commit is contained in:
1 parent
3387d34093
commit
545d66204d
1 file changed
+4
-4
+4
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user