about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/segfault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c
index b0778df6fc..502b239602 100644
--- a/sysdeps/generic/segfault.c
+++ b/sysdeps/generic/segfault.c
@@ -188,7 +188,7 @@ install_handler (void)
   else
     {
       const char *where;
-      int all = __strcasecmp (sigs, "all");
+      int all = __strcasecmp (sigs, "all") == 0;
 
 #define INSTALL_FOR_SIG(sig, name) \
       where = __strcasestr (sigs, name);				      \