Page MenuHomeFreeBSD

Fix build on 32-bit platforms
AbandonedPublic

Authored by lwhsu on Apr 19 2018, 5:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 28, 5:32 PM
Unknown Object (File)
Sat, Feb 28, 2:12 PM
Unknown Object (File)
Sat, Feb 28, 4:40 AM
Unknown Object (File)
Sat, Feb 28, 3:03 AM
Unknown Object (File)
Dec 1 2025, 5:41 PM
Unknown Object (File)
Nov 21 2025, 5:00 AM
Unknown Object (File)
Nov 21 2025, 4:59 AM
Unknown Object (File)
Nov 21 2025, 4:56 AM
Subscribers

Details

Reviewers
mckusick
delphij
Summary

https://ci.freebsd.org/job/FreeBSD-head-i386-build/7202/console :

/usr/src/tools/diag/prtblknos/prtblknos.c:100:38: error: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
                printf("regular file, size %ld\n", size);
                                           ~~~     ^~~~
                                           %lld
/usr/src/tools/diag/prtblknos/prtblknos.c:107:35: error: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
                printf("directory, size %ld\n", size);
                                        ~~~     ^~~~
                                        %lld

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16221
Build 16172: arc lint + arc unit