about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-08-23 15:56:52 -0400
committerRich Felker <dalias@aerifal.cx>2018-08-23 15:56:52 -0400
commitf4542fdf7a10632099f0c4e49b4c5923ca29356b (patch)
tree0be716f82356ad9bcbb1fa4e2cb14d4d9954dfd1 /src
parentcfa0a54c082d41db6446638eed1d57f163434092 (diff)
downloadmusl-f4542fdf7a10632099f0c4e49b4c5923ca29356b.tar.gz
musl-f4542fdf7a10632099f0c4e49b4c5923ca29356b.tar.xz
musl-f4542fdf7a10632099f0c4e49b4c5923ca29356b.zip
fix missing strerror text for EMULTIHOP
this is an obsolete error code from RFS, an obsolete predecessor of
NFS. POSIX documents it only as "Reserved", but maintains the
requirement that it be defined. as long as it is defined, it needs a
string for strerror to produce; the one chosen matches glibc and
documentation from other language runtimes I could find.
Diffstat (limited to 'src')
-rw-r--r--src/errno/__strerror.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errno/__strerror.h b/src/errno/__strerror.h
index 915044b5..2f04d400 100644
--- a/src/errno/__strerror.h
+++ b/src/errno/__strerror.h
@@ -100,5 +100,6 @@ E(EREMOTEIO,    "Remote I/O error")
 E(EDQUOT,       "Quota exceeded")
 E(ENOMEDIUM,    "No medium found")
 E(EMEDIUMTYPE,  "Wrong medium type")
+E(EMULTIHOP,    "Multihop attempted")
 
 E(0,            "No error information")