diff --git a/ld10k1/src/ld10k1.c b/ld10k1/src/ld10k1.c index 7359f13..e31c5af 100644 --- a/ld10k1/src/ld10k1.c +++ b/ld10k1/src/ld10k1.c @@ -62,7 +62,7 @@ static void vlog(const char *label, const char *fmt, va_list va) localtime(&tp)); fprintf(out, "%s %s", timestr, label); } else - fprintf(out, label); + fprintf(out, "%s", label); vfprintf(out, fmt, va); fprintf(out, "\n"); fflush(out); diff --git a/ld10k1/src/lo10k1.c b/ld10k1/src/lo10k1.c index 3d04405..962c3ef 100644 --- a/ld10k1/src/lo10k1.c +++ b/ld10k1/src/lo10k1.c @@ -868,7 +868,7 @@ err: void debug_print(char *str) { - printf(str); + printf("%s", str); } static int debug(int deb)