Page MenuHomeFreeBSD

Quisece one printf warnings
ClosedPublic

Authored by sbruno on Jul 23 2014, 9:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 18 2024, 8:16 PM
Unknown Object (File)
Jan 21 2024, 2:58 PM
Unknown Object (File)
Dec 19 2023, 11:01 PM
Unknown Object (File)
Dec 7 2023, 8:57 PM
Unknown Object (File)
Dec 7 2023, 8:52 PM
Unknown Object (File)
Dec 3 2023, 5:29 AM
Unknown Object (File)
Dec 1 2023, 9:18 AM
Unknown Object (File)
Nov 16 2023, 8:47 PM
Subscribers

Details

Reviewers
delphij
mahrens
Summary

fix typos to quiesce to compile warnings

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

sbruno retitled this revision from to Quisece two printf warnings.
sbruno updated this object.
sbruno edited the test plan for this revision. (Show Details)
sbruno added a reviewer: delphij.
delphij edited edge metadata.

Looks good to me, maybe upstream too?

This revision is now accepted and ready to land.Jul 23 2014, 9:39 PM

I've sent this to Matt Ahrens in email as well. He doesn't have a phabric account yet.

sbruno edited edge metadata.

Update correct position in the printf string. Apparently, my eyes are off.

mahrens added inline comments.
cddl/contrib/opensolaris/lib/libzpool/common/kernel.c
690

looks good; bug does not exist upstream.

cddl/contrib/opensolaris/lib/libzpool/common/util.c
108

This change looks incorrect to me. the format and corresponding arguments are:

"%*s", indent, "",
"%s", prefix,
"%*s", indent + strlen(prefix) - 25 - (vs->vs_space ? 0 : 12), desc,
...

note that "prefix" is a string not an integer, so the existing code is correct.

sbruno retitled this revision from Quisece two printf warnings to Quisece one printf warnings.Aug 7 2014, 5:48 PM
delphij edited subscribers, added: delphij; removed: mahrens.
This revision now requires review to proceed.Aug 7 2014, 5:49 PM
delphij added a reviewer: delphij.

I think this is good to go.

This revision is now accepted and ready to land.Aug 7 2014, 9:03 PM
mahrens edited edge metadata.

committed to freebsd current at svn R269730