summaryrefslogtreecommitdiff
path: root/LibC/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibC/string.cpp')
-rw-r--r--LibC/string.cpp2
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");
}