diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-10-18 12:11:54 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-10-18 12:11:54 -0400 |
commit | 6571d991af45b064bc650b10a36b87d3ecaed2c8 (patch) | |
tree | 2afc6a7d54f0ff56ec4dd1bbcd4012460e339ae1 | |
parent | b1ebd146e843237781657872aa83b65ddce166f7 (diff) | |
download | bfs-6571d991af45b064bc650b10a36b87d3ecaed2c8.tar.xz |
util: Use ENOTSUP instead of ENOSYS for stubbed xconfstr()
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |