Page MenuHomeFreeBSD

Write string constant differently to improve readability.
ClosedPublic

Authored by delphij on Apr 5 2019, 6:45 AM.

Details

Summary

Write string constant differently to improve readability.

Test Plan

test with previous test cases

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

delphij created this revision.Apr 5 2019, 6:45 AM
rgrimes accepted this revision.Apr 5 2019, 8:15 AM

Thank you, that is 100x clearer as to what is in the constant

This revision is now accepted and ready to land.Apr 5 2019, 8:15 AM
emaste accepted this revision.Apr 5 2019, 8:25 PM
emaste added a subscriber: emaste.

This LGTM as long as compilers or static analyzers don't try to "helpfully" warn that the string does not fit or will not be null terminated.

This revision was automatically updated to reflect the committed changes.