summaryrefslogtreecommitdiffstats
path: root/mod_revocator-32-bit-semaphore-fix.patch
blob: 62b9fb532a071476d5cb00982b977bf1cf71e3b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rupN mod_revocator-1.0.3.patched/mod_rev.c mod_revocator-1.0.3/mod_rev.c
--- mod_revocator-1.0.3.patched/mod_rev.c	2011-10-21 16:21:44.862124000 -0700
+++ mod_revocator-1.0.3/mod_rev.c	2011-10-21 16:23:11.028211000 -0700
@@ -74,7 +74,7 @@ apr_status_t rev_module_kill(void *data)
 
 static void kill_apache(void) {
     char buffer[1024];
-    PR_snprintf(buffer, sizeof(buffer), "%lld %s", 0, "kill");
+    PR_snprintf(buffer, sizeof(buffer), "%ld %s", 0, "kill");
     write(outfd, buffer, strlen(buffer));
 }