summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 88cc859..b1a038a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -417,7 +417,7 @@ size_t xwrite(int fd, const void *buf, size_t nbytes) {
char *xconfstr(int name) {
#if __ANDROID__
- errno = ENOSYS;
+ errno = ENOTSUP;
return NULL;
#else
size_t len = confstr(name, NULL, 0);