summaryrefslogtreecommitdiff
blob: 340f91771fa7e9295e9cbe5689947b9de7755c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- wmix.c.orig	2004-05-12 21:30:53.000000000 -0300
+++ wmix.c	2009-07-08 00:20:28.000000000 -0300
@@ -134,7 +134,7 @@
     }
 
     /* handle writing PID file, silently ignore if we can't do it */
-    pid = calloc(1, strlen(home) + 10);
+    pid = calloc(1, strlen(home) + 11);
     sprintf(pid, "%s/.wmix.pid", home);
     fp = fopen(pid, "w");
     if (fp) {