summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/legacy/utmpx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/legacy/utmpx.c b/src/legacy/utmpx.c
index c483e4ed..46ca4b8b 100644
--- a/src/legacy/utmpx.c
+++ b/src/legacy/utmpx.c
@@ -34,6 +34,11 @@ void updwtmpx(const char *f, const struct utmpx *u)
{
}
+int __utmpxname(const char *f)
+{
+ return -1;
+}
+
weak_alias(endutxent, endutent);
weak_alias(setutxent, setutent);
weak_alias(getutxent, getutent);
@@ -41,3 +46,5 @@ weak_alias(getutxid, getutid);
weak_alias(getutxline, getutline);
weak_alias(pututxline, pututline);
weak_alias(updwtmpx, updwtmp);
+weak_alias(__utmpxname, utmpname);
+weak_alias(__utmpxname, utmpxname);