A wrapper to use CR/CRLF terminators depending on the situation.
Try to use the wrapper everywhere.
For now we leave the custom DPRINTF/WPRINTF defined by device models.
Details
Details
- Reviewers
jhb • ian rgrimes grehan - Group Reviewers
bhyve - Commits
- rS358184: MFC r356523
rS356523: bhyve: add wrapper for debug printf statements
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Can you first revert the wrong change, which cleans this up by not doing the deletes of \n\r that was added by that diff.
usr.sbin/bhyve/debug.h | ||
---|---|---|
5 ↗ | (On Diff #65182) | Please remove the All rights reserved, it is not needed or desired. |
Comment Actions
Removed "all rights reserved" line.
Fix multi-line debug logs in pci_xhci.c, splitting them into multiple PRINTLN() statements.
Comment Actions
A worthwhile change.
usr.sbin/bhyve/debug.h | ||
---|---|---|
15 ↗ | (On Diff #65330) | You might want to put "THE AUTHOR" here instead of NETAPP :) |
usr.sbin/bhyve/debug.h | ||
---|---|---|
15 ↗ | (On Diff #65330) | Very good point, thanks :) |