summaryrefslogtreecommitdiffstats
path: root/libc/bionic/strerror_r.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-13 01:10:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-13 01:10:42 +0000
commit7b3876e2516fd55d61a48cb23a7080ea88b9617b (patch)
treee0fa3c926172fbc3e4b1a43950ae2a7ea662deb7 /libc/bionic/strerror_r.cpp
parent9e572ca4163e42bcd053df2cb8557e4b61ad064d (diff)
parentaa0ebdafc71e1ceac78e0929b94f3bb117d0c8e9 (diff)
downloadbionic-7b3876e2516fd55d61a48cb23a7080ea88b9617b.zip
bionic-7b3876e2516fd55d61a48cb23a7080ea88b9617b.tar.gz
bionic-7b3876e2516fd55d61a48cb23a7080ea88b9617b.tar.bz2
Merge "Clean up sys_signame and sys_siglist a little."
Diffstat (limited to 'libc/bionic/strerror_r.cpp')
-rw-r--r--libc/bionic/strerror_r.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/strerror_r.cpp b/libc/bionic/strerror_r.cpp
index 81120ec..5f2d362 100644
--- a/libc/bionic/strerror_r.cpp
+++ b/libc/bionic/strerror_r.cpp
@@ -34,7 +34,7 @@ extern "C" __LIBC_HIDDEN__ const char* __strerror_lookup(int error_number) {
}
static const Pair _sys_signal_strings[] = {
-#define __BIONIC_SIGDEF(x,y,z) { y, z },
+#define __BIONIC_SIGDEF(signal_number, signal_description) { signal_number, signal_description },
#include <sys/_sigdefs.h>
{ 0, NULL }
};