mirror of
https://github.com/fluencelabs/musl
synced 2025-06-23 19:52:01 +00:00
add errno setting to stub utmpxname function
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
#include <utmpx.h>
|
#include <utmpx.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include <errno.h>
|
||||||
#include "libc.h"
|
#include "libc.h"
|
||||||
|
|
||||||
void endutxent(void)
|
void endutxent(void)
|
||||||
@ -36,6 +37,7 @@ void updwtmpx(const char *f, const struct utmpx *u)
|
|||||||
|
|
||||||
int __utmpxname(const char *f)
|
int __utmpxname(const char *f)
|
||||||
{
|
{
|
||||||
|
errno = ENOTSUP;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user