]> err.no Git - systemd/commitdiff
util: SIGSTKFLT is unknown on Linux for SPARC
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2010 11:56:08 +0000 (13:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2010 11:56:08 +0000 (13:56 +0200)
src/util.c

index 93f982e8bcabd07436ec5a3306cef12f311d2466..48cdb19ef1e54753e69ddc113feeff0731d5e846 100644 (file)
@@ -3214,7 +3214,9 @@ static const char *const signal_table[] = {
         [SIGPIPE] = "PIPE",
         [SIGALRM] = "ALRM",
         [SIGTERM] = "TERM",
-        [SIGSTKFLT] = "STKFLT",
+#ifdef SIGSTKFLT
+        [SIGSTKFLT] = "STKFLT",  /* Linux on SPARC doesn't know SIGSTKFLT */
+#endif
         [SIGCHLD] = "CHLD",
         [SIGCONT] = "CONT",
         [SIGSTOP] = "STOP",