Page MenuHomeFreeBSD

vmm: Fix ivrs_drv device_printf usage
ClosedPublic

Authored by khng on Jun 17 2021, 6:11 PM.

Details

Summary

The original %b description string is wrong.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG 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

khng requested review of this revision.Jun 17 2021, 6:11 PM
This revision is now accepted and ready to land.Jun 17 2021, 9:31 PM

Wait, how did this compile exactly? Does it stop at the first invalid character so that '\008' becomes '\0' and '8'?

In D30805#692800, @jhb wrote:

Wait, how did this compile exactly? Does it stop at the first invalid character so that '\008' becomes '\0' and '8'?

\0 and a bit name that starts with a number is legal, but not the expected results

This revision was automatically updated to reflect the committed changes.