lib: os: cbprintf_complete: fix typo in cbvprintf width comment

This commit fixes a subtle typo - width instead of with.

Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
This commit is contained in:
Jennifer Williams 2021-04-28 19:55:48 -07:00 committed by Anas Nashif
commit b773ec1675

View file

@ -1389,7 +1389,7 @@ int cbvprintf(cbprintf_cb out, void *ctx, const char *fp, va_list ap)
fp = extract_conversion(conv, sp);
/* If dynamic width is specified, process it,
* otherwise set with if present.
* otherwise set width if present.
*/
if (conv->width_star) {
width = va_arg(ap, int);