Page MenuHomeFreeBSD

Don't set the string "unknown" as a device's location_str
ClosedPublic

Authored by scottph on Aug 19 2019, 5:10 PM.

Details

Summary

Return an empty string when the location is unknown instead of the
string "unknown". This ensures that all location entries are of
the form key=val.

Suggested by: imp
MFC after: 1 week
Sponsored by: Intel Corporation

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

scottph created this revision.Aug 19 2019, 5:10 PM
jhb accepted this revision.Aug 19 2019, 5:15 PM
This revision is now accepted and ready to land.Aug 19 2019, 5:15 PM
This revision was automatically updated to reflect the committed changes.