46f5ae70a4
Submitted by: danfe
19 lines
486 B
C
19 lines
486 B
C
--- wmix.c.orig Wed Jul 14 18:15:17 2004
|
|
+++ wmix.c Wed Jul 14 18:15:26 2004
|
|
@@ -24,7 +24,6 @@
|
|
#include <string.h>
|
|
#include <signal.h>
|
|
#include <string.h>
|
|
-#include <getopt.h>
|
|
#include <unistd.h>
|
|
|
|
#include <X11/X.h>
|
|
@@ -134,7 +133,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) {
|