[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / ppp / patches / 403-no_wtmp.patch
1 --- a/pppd/sys-linux.c
2 +++ b/pppd/sys-linux.c
3 @@ -2254,6 +2254,7 @@ int ppp_available(void)
4
5 void logwtmp (const char *line, const char *name, const char *host)
6 {
7 +#if 0
8 struct utmp ut, *utp;
9 pid_t mypid = getpid();
10 #if __GLIBC__ < 2
11 @@ -2319,6 +2320,7 @@ void logwtmp (const char *line, const ch
12 close (wtmp);
13 }
14 #endif
15 +#endif
16 }
17
18
This page took 0.042212 seconds and 5 git commands to generate.