1 |
diff -p -up alsa-tools-1.0.19/ld10k1/src/ld10k1.c.orig alsa-tools-1.0.19/ld10k1/src/ld10k1.c |
2 |
--- alsa-tools-1.0.19/ld10k1/src/ld10k1.c.orig 2009-03-21 00:13:40.000000000 -0300 |
3 |
+++ alsa-tools-1.0.19/ld10k1/src/ld10k1.c 2009-03-21 00:14:04.000000000 -0300 |
4 |
@@ -62,7 +62,7 @@ static void vlog(const char *label, cons |
5 |
localtime(&tp)); |
6 |
fprintf(out, "%s %s", timestr, label); |
7 |
} else |
8 |
- fprintf(out, label); |
9 |
+ fprintf(out, "%s", label); |
10 |
vfprintf(out, fmt, va); |
11 |
fprintf(out, "\n"); |
12 |
fflush(out); |
13 |
diff -p -up alsa-tools-1.0.19/ld10k1/src/lo10k1.c.orig alsa-tools-1.0.19/ld10k1/src/lo10k1.c |
14 |
--- alsa-tools-1.0.19/ld10k1/src/lo10k1.c.orig 2009-03-21 00:12:27.000000000 -0300 |
15 |
+++ alsa-tools-1.0.19/ld10k1/src/lo10k1.c 2009-03-21 00:13:02.000000000 -0300 |
16 |
@@ -868,7 +868,7 @@ err: |
17 |
|
18 |
void debug_print(char *str) |
19 |
{ |
20 |
- printf(str); |
21 |
+ printf("%s", str); |
22 |
} |
23 |
|
24 |
static int debug(int deb) |