fix warning
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 18 Apr 2022 17:37:53 +0000 (10:37 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 18 Apr 2022 17:37:53 +0000 (10:37 -0700)
openpower/sv/bitmanip/divmnu64.c

index 2bdb5bbbba2d6f9e476b60b106355f01ace6fcae..f9f6572d04f0171509d2c5f5472bbf16a4388bf5 100644 (file)
@@ -26,7 +26,7 @@ int nlz(unsigned x) {
 
 void dumpit(char *msg, int n, unsigned v[]) {
    int i;
-   printf(msg);
+   printf("%s", msg);
    for (i = n-1; i >= 0; i--) printf(" %08x", v[i]);
    printf("\n");
 }