mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-30 02:21:34 +00:00
common/console.c: Small coding style cleanup
Change some comments to match the U-Boot coding style rules. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dd5577703b
commit
ddf7355a73
1 changed files with 4 additions and 2 deletions
|
@ -566,7 +566,8 @@ int printf(const char *fmt, ...)
|
||||||
|
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
|
|
||||||
/* For this to work, printbuffer must be larger than
|
/*
|
||||||
|
* For this to work, printbuffer must be larger than
|
||||||
* anything we ever want to print.
|
* anything we ever want to print.
|
||||||
*/
|
*/
|
||||||
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
||||||
|
@ -582,7 +583,8 @@ int vprintf(const char *fmt, va_list args)
|
||||||
uint i;
|
uint i;
|
||||||
char printbuffer[CONFIG_SYS_PBSIZE];
|
char printbuffer[CONFIG_SYS_PBSIZE];
|
||||||
|
|
||||||
/* For this to work, printbuffer must be larger than
|
/*
|
||||||
|
* For this to work, printbuffer must be larger than
|
||||||
* anything we ever want to print.
|
* anything we ever want to print.
|
||||||
*/
|
*/
|
||||||
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue