summarylogtreecommitdiffstats
path: root/100-pidfile.patch
diff options
context:
space:
mode:
authorDominik Schrempf2020-05-06 13:18:14 +0200
committerDominik Schrempf2020-05-06 13:18:14 +0200
commitdd4b9c4a2b0e2e32ef6150c488f2ca8d14daf173 (patch)
tree7b5fdd5b575fe482e39d4ec98292922af66c5025 /100-pidfile.patch
parent4dac7fef6478cd5f8f0446740297e9dd65933d47 (diff)
downloadaur-dd4b9c4a2b0e2e32ef6150c488f2ca8d14daf173.tar.gz
patch pid file
Diffstat (limited to '100-pidfile.patch')
-rw-r--r--100-pidfile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/100-pidfile.patch b/100-pidfile.patch
new file mode 100644
index 000000000000..a56aba4ed823
--- /dev/null
+++ b/100-pidfile.patch
@@ -0,0 +1,11 @@
+--- htpdate.c 2019-07-12 19:10:17.000000000 +0200
++++ htpdate.c.patched 2020-05-06 13:15:51.419075086 +0200
+@@ -499,7 +499,7 @@
+ printlog( 1, "Error writing pid file" );
+ exit(1);
+ } else {
+- fprintf( pid_file, "%u\n", (unsigned short)pid );
++ fprintf( pid_file, "%d\n", (signed int)pid );
+ fclose( pid_file );
+ }
+ printlog( 0, "htpdate version "VERSION" started" );