aboutsummaryrefslogtreecommitdiff
path: root/net/eoip/patches/100-add_LF_to_pidfile.patch
blob: 66278d46515a10bd2a431e633a9ec5919153206d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/eoip.c
+++ b/eoip.c
@@ -430,7 +430,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: