diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-26 09:54:29 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-26 09:54:29 +0200 |
commit | 53abfa7ea1ef7ea1b9e47ca9818e48ab0fa32b8b (patch) | |
tree | 5cdfe5eecde7630e3d492bbfc4e6734e78a1c25c /LibC/string.cpp | |
parent | 3faaa3e04a3eef72554e9235cb81327642b62ab7 (diff) | |
download | serenity-53abfa7ea1ef7ea1b9e47ca9818e48ab0fa32b8b.zip |
Add sys$gethostname and /bin/hostname
Diffstat (limited to 'LibC/string.cpp')
-rw-r--r-- | LibC/string.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibC/string.cpp b/LibC/string.cpp index 94b4450249..06e28676e4 100644 --- a/LibC/string.cpp +++ b/LibC/string.cpp @@ -50,6 +50,7 @@ const char* strerror(int errnum) case EPIPE: return "Broken pipe"; case EDOM: return "Math argument out of domain"; case ERANGE: return "Math result not representable"; + case ENAMETOOLONG: return "Name too long"; case EOVERFLOW: return "Value too large for data type"; } printf("strerror() missing string for errnum=%d\n", errnum); |