projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix x32 unistd macros to report as ILP32 not LP64
[musl]
/
src
/
legacy
/
utmpx.c
diff --git
a/src/legacy/utmpx.c
b/src/legacy/utmpx.c
index
46ca4b8
..
e2843c9
100644
(file)
--- a/
src/legacy/utmpx.c
+++ b/
src/legacy/utmpx.c
@@
-1,5
+1,6
@@
#include <utmpx.h>
#include <stddef.h>
+#include <errno.h>
#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;
}