]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools/mkeficapsule.c: fix DEBUG build
authorKlaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Sat, 20 Feb 2021 20:40:45 +0000 (17:40 -0300)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 26 Feb 2021 15:17:43 +0000 (16:17 +0100)
Fix a missing comma sign (,) from a printf(), that is only
reachable if DEBUG is defined, in which case the build fails with:

    tools/mkeficapsule.c:266:36: error: expected β€˜)’ before β€˜bin’
      266 |  printf("\tbin: %s\n\ttype: %pUl\n" bin, guid);
          |                                    ^~~~
          |                                    )

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
tools/mkeficapsule.c

index 162494907a83815ec45f0a6cd202d9dd6c822c0f..1613e74ca73cd5ad732a12642de44b92a687efc7 100644 (file)
@@ -263,7 +263,7 @@ static int create_fwbin(char *path, char *bin, efi_guid_t *guid,
 
 #ifdef DEBUG
        printf("For output: %s\n", path);
-       printf("\tbin: %s\n\ttype: %pUl\n" bin, guid);
+       printf("\tbin: %s\n\ttype: %pUl\n", bin, guid);
        printf("\tindex: %ld\n\tinstance: %ld\n", index, instance);
 #endif