summaryrefslogtreecommitdiff
path: root/x11/apwal/files/patch-sysstuff.c
blob: a32889b579e0322e510d50067f15125a8761e92d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sysstuff.c.orig	Wed Dec  3 09:58:17 2003
+++ sysstuff.c	Wed Dec  3 09:58:45 2003
@@ -370,7 +370,7 @@
   len = strlen(procfile);
   pid = getpid();
   sprintf(procfile + len, "%d", pid);
-  strcat(procfile, "/exe");
+  strcat(procfile, "/file");
 
   // read procfile to get the binary file of apwal
   cc = readlink(procfile, execfile, FILENAME_MAX);