[systemd-commits] src/util.c

Lennart Poettering lennart at kemper.freedesktop.org
Tue Sep 14 04:56:17 PDT 2010


 src/util.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f26ee0b931bdadc7559bfd0d8a43d9909d84b441
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Sep 14 13:56:08 2010 +0200

    util: SIGSTKFLT is unknown on Linux for SPARC

diff --git a/src/util.c b/src/util.c
index 93f982e..48cdb19 100644
--- a/src/util.c
+++ b/src/util.c
@@ -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",


More information about the systemd-commits mailing list