From: Rich Felker Date: Thu, 28 Jan 2016 05:38:23 +0000 (-0500) Subject: add errno setting to stub utmpxname function X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=19df86cbb39f2429f7c7e20c99c606c38a5fd4e9;p=musl add errno setting to stub utmpxname function --- diff --git a/src/legacy/utmpx.c b/src/legacy/utmpx.c index 46ca4b8b..e2843c94 100644 --- a/src/legacy/utmpx.c +++ b/src/legacy/utmpx.c @@ -1,5 +1,6 @@ #include #include +#include #include "libc.h" void endutxent(void) @@ -36,6 +37,7 @@ void updwtmpx(const char *f, const struct utmpx *u) int __utmpxname(const char *f) { + errno = ENOTSUP; return -1; }