summaryrefslogtreecommitdiffstats
path: root/net/eoip/patches/100-add_LF_to_pidfile.patch
blob: 08e7a775372002d93f9395fcd40876d69f46ed94 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/eoip.c
+++ b/eoip.c
@@ -431,7 +431,7 @@ int main(int argc, char **argv)
 	exit(1);
 
     mfd = fopen(pidfile, "w");
-    fprintf(mfd,"%d", getpid());
+    fprintf(mfd,"%d\n", getpid());
     fclose(mfd);
 
     /* structure of Mikrotik EoIP: