diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-26 15:57:59 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-26 15:57:59 +0100 |
commit | a356746d04b50968f4b5d4eb43c587efc61dffba (patch) | |
tree | e55e826ddbdfc2e184c325933a910228ec310019 /LibC/string.cpp | |
parent | 2e5b9d318f51f73b0ac155f00345a70bf287f5e6 (diff) | |
download | serenity-a356746d04b50968f4b5d4eb43c587efc61dffba.zip |
Compat work towards porting vim.
Diffstat (limited to 'LibC/string.cpp')
-rw-r--r-- | LibC/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/string.cpp b/LibC/string.cpp index 01661e3174..e252377cc5 100644 --- a/LibC/string.cpp +++ b/LibC/string.cpp @@ -260,7 +260,7 @@ char* strerror(int errnum) char* strsignal(int signum) { - if (signum >= __signal_count) { + if (signum >= NSIG) { printf("strsignal() missing string for signum=%d\n", signum); return const_cast<char*>("Unknown signal"); } |