fix missing strerror text for EMULTIHOP
authorRich Felker <dalias@aerifal.cx>
Thu, 23 Aug 2018 19:56:52 +0000 (15:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 23 Aug 2018 19:56:52 +0000 (15:56 -0400)
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.

src/errno/__strerror.h

index 915044b..2f04d40 100644 (file)
@@ -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")