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)
Dec 20 2023, 8:40 AM
Unknown Object (File)
Sep 2 2023, 11:03 PM
Unknown Object (File)
Aug 2 2023, 6:05 PM
Unknown Object (File)
Jul 15 2023, 10:04 PM
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