diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-20 13:51:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-20 13:51:36 +0000 |
commit | 7fa3fe6741b08fb26058e92a43dfd9d3798d102a (patch) | |
tree | a1e3e513ee443172b8936c89c1df1a09c21497fa /package/network/services/ppp/patches/403-no_wtmp.patch | |
parent | 0f474633e146b30c1775d15ced6bdf8529b16863 (diff) | |
download | upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.gz upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.bz2 upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.zip |
pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39963
Diffstat (limited to 'package/network/services/ppp/patches/403-no_wtmp.patch')
-rw-r--r-- | package/network/services/ppp/patches/403-no_wtmp.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/ppp/patches/403-no_wtmp.patch b/package/network/services/ppp/patches/403-no_wtmp.patch index e8e76252c0..60e1272d3b 100644 --- a/package/network/services/ppp/patches/403-no_wtmp.patch +++ b/package/network/services/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 -@@ -2266,6 +2266,7 @@ int ppp_available(void) +@@ -2259,6 +2259,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 -@@ -2331,6 +2332,7 @@ void logwtmp (const char *line, const ch +@@ -2324,6 +2325,7 @@ void logwtmp (const char *line, const ch close (wtmp); } #endif |