]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
kern/misc: Add space after comma in function argument list
authorGlenn Washburn <development@efficientek.com>
Wed, 28 Jun 2023 10:10:08 +0000 (05:10 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 3 Jul 2023 12:11:29 +0000 (14:11 +0200)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/misc.c

index 739cc56691a14de9f230b936793e49ef944d68f5..2890aad49fa7f900117115eb82b35d70ce4f73be 100644 (file)
@@ -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;
        }
     }