diff xrogue/init.c @ 307:32bc72dcbf4f

Fix some warnings related to format strings.
author John "Elwin" Edwards
date Fri, 30 Apr 2021 20:48:30 -0400
parents 0250220d8cdd
children
line wrap: on
line diff
--- a/xrogue/init.c	Sat Apr 17 15:41:12 2021 -0400
+++ b/xrogue/init.c	Fri Apr 30 20:48:30 2021 -0400
@@ -119,7 +119,7 @@
     printf("\nBad percentages for %s:\n", name);
     for (end = &magic[bound] ; magic < end ; magic++)
         printf("%4d%% %s\n", magic->mi_prob, magic->mi_name);
-    printf(retstr);
+    printf("%s", retstr);
     fflush(stdout);
     while (getchar() != '\n')
         continue;