Fallback to the framebuffer defaults if atoi() fails to convert the user
provided values for height/width.
..and also remove a couple unused macros that were nearby
Differential D42692
bhyve: use fbuf defaults when config parsing fails rew on Nov 21 2023, 1:41 AM. Authored by Tags None Referenced Files
Details
Fallback to the framebuffer defaults if atoi() fails to convert the user ..and also remove a couple unused macros that were nearby
Diff Detail
Event TimelineComment Actions Hmm, should also reject values smaller than MIN? TBH, I think it would also be nicer to use strtol and reject values that don't parse cleanly with an error. |