mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 02:21:14 +00:00
539858ad75
Wrong pointer and missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
249 B
Diff
12 lines
249 B
Diff
--- 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:
|