Page MenuHomeFreeBSD

zfs: Update test format strings to match variable typtes
ClosedPublic

Authored by emaste on Feb 28 2022, 1:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 6:14 AM
Unknown Object (File)
Fri, Oct 10, 9:57 AM
Unknown Object (File)
Sep 13 2025, 5:53 AM
Unknown Object (File)
Aug 16 2025, 9:27 PM
Unknown Object (File)
Aug 5 2025, 12:34 AM
Unknown Object (File)
Jul 4 2025, 8:37 PM
Unknown Object (File)
Jul 2 2025, 4:41 PM
Unknown Object (File)
Jun 27 2025, 9:26 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added inline comments.
tests/sys/cddl/zfs/bin/readmmap.c
86

My guess is this used to be %d and someone made it %ud thinking 'u' is a length modifier not a conversion specifier. Previously this wound print something like short write: 64 != 32d which doesn't make sense.

This revision is now accepted and ready to land.Mar 1 2022, 5:02 PM