mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
kern/misc: Add space after comma in function argument list
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
1c9c930320
commit
6dd3857c22
1 file changed
+7
-7
@@ -1004,7 +1004,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
|
|||||||
|
|
||||||
if (c != '%')
|
if (c != '%')
|
||||||
{
|
{
|
||||||
write_char (str, &count, max_len,c);
|
write_char (str, &count, max_len, c);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1052,7 +1052,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
|
|||||||
|
|
||||||
if (c == '%')
|
if (c == '%')
|
||||||
{
|
{
|
||||||
write_char (str, &count, max_len,c);
|
write_char (str, &count, max_len, c);
|
||||||
n--;
|
n--;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1102,7 +1102,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'c':
|
case 'c':
|
||||||
write_char (str, &count, max_len,curarg & 0xff);
|
write_char (str, &count, max_len, curarg & 0xff);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'C':
|
case 'C':
|
||||||
@@ -1138,10 +1138,10 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
|
|||||||
mask = 0;
|
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)
|
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;
|
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);
|
write_char (str, &count, max_len, zerofill);
|
||||||
|
|
||||||
for (i = 0; i < len; i++)
|
for (i = 0; i < len; i++)
|
||||||
write_char (str, &count, max_len,*p++);
|
write_char (str, &count, max_len, *p++);
|
||||||
|
|
||||||
if (rightfill)
|
if (rightfill)
|
||||||
while (fill--)
|
while (fill--)
|
||||||
@@ -1172,7 +1172,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
write_char (str, &count, max_len,c);
|
write_char (str, &count, max_len, c);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user