From: Glenn Washburn Date: Wed, 28 Jun 2023 10:10:08 +0000 (-0500) Subject: kern/misc: Add space after comma in function argument list X-Git-Tag: grub-2.12-rc1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd3857c227f2f294aeeb3d9c292242c7425be2d;p=thirdparty%2Fgrub.git kern/misc: Add space after comma in function argument list Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c index 739cc5669..2890aad49 100644 --- a/grub-core/kern/misc.c +++ b/grub-core/kern/misc.c @@ -1004,7 +1004,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, if (c != '%') { - write_char (str, &count, max_len,c); + write_char (str, &count, max_len, c); continue; } @@ -1052,7 +1052,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, if (c == '%') { - write_char (str, &count, max_len,c); + write_char (str, &count, max_len, c); n--; continue; } @@ -1102,7 +1102,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, break; case 'c': - write_char (str, &count, max_len,curarg & 0xff); + write_char (str, &count, max_len, curarg & 0xff); break; case 'C': @@ -1138,10 +1138,10 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, mask = 0; } - write_char (str, &count, max_len,mask | (code >> shift)); + write_char (str, &count, max_len, mask | (code >> shift)); for (shift -= 6; shift >= 0; shift -= 6) - write_char (str, &count, max_len,0x80 | (0x3f & (code >> shift))); + write_char (str, &count, max_len, 0x80 | (0x3f & (code >> shift))); } break; @@ -1162,7 +1162,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, write_char (str, &count, max_len, zerofill); for (i = 0; i < len; i++) - write_char (str, &count, max_len,*p++); + write_char (str, &count, max_len, *p++); if (rightfill) while (fill--) @@ -1172,7 +1172,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, break; default: - write_char (str, &count, max_len,c); + write_char (str, &count, max_len, c); break; } }