From 8f01c775162c36a092f044a26985f17f6c218662 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 18 May 2010 14:52:38 +0000 Subject: * libc/string/strsignal.c (strsignal): Avoid duplicate case statement where SIGPWR == SIGLOST. --- newlib/libc/string/strsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/string/strsignal.c') diff --git a/newlib/libc/string/strsignal.c b/newlib/libc/string/strsignal.c index 6d39e8b75..e03c1086b 100644 --- a/newlib/libc/string/strsignal.c +++ b/newlib/libc/string/strsignal.c @@ -242,7 +242,7 @@ _DEFUN (strsignal, (signal), buffer = "Profiling timer expired"; break; #endif -#ifdef SIGLOST +#if defined(SIGLOST) && SIGLOST != SIGPWR case SIGLOST: buffer = "Resource lost"; break; -- cgit v1.2.3