diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-12 19:17:10 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-12 19:17:10 +0000 |
commit | 8ff6f9586a3b03d98a26257b711f1733e92a0358 (patch) | |
tree | f049c39a50f8fe035ac7e6a076c512b4f4f76ce4 /package/ppp/patches/403-no_wtmp.patch | |
parent | 30a357f69912a2ffdf0f3d7953d9b37f3f1d0349 (diff) | |
download | openwrt-8ff6f9586a3b03d98a26257b711f1733e92a0358.tar.gz openwrt-8ff6f9586a3b03d98a26257b711f1733e92a0358.zip |
AA: ppp: backport r34171
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34172 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/403-no_wtmp.patch')
-rw-r--r-- | package/ppp/patches/403-no_wtmp.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/patches/403-no_wtmp.patch b/package/ppp/patches/403-no_wtmp.patch index 71233200e..e8e76252c 100644 --- a/package/ppp/patches/403-no_wtmp.patch +++ b/package/ppp/patches/403-no_wtmp.patch @@ -7,7 +7,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c -@@ -2254,6 +2254,7 @@ int ppp_available(void) +@@ -2266,6 +2266,7 @@ int ppp_available(void) void logwtmp (const char *line, const char *name, const char *host) { @@ -15,7 +15,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> struct utmp ut, *utp; pid_t mypid = getpid(); #if __GLIBC__ < 2 -@@ -2319,6 +2320,7 @@ void logwtmp (const char *line, const ch +@@ -2331,6 +2332,7 @@ void logwtmp (const char *line, const ch close (wtmp); } #endif |