From 3d652087604ca1c6a66d9fa319645aeec1cf1b7b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 23 Aug 2015 03:30:46 +0200 Subject: signal handlers that return should not modify errno MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kkbd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mds-kkbd.c') diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c index 284c56b..1088385 100644 --- a/src/mds-kkbd.c +++ b/src/mds-kkbd.c @@ -1730,6 +1730,7 @@ void shrink_map(void) */ void received_info(int signo) { + SIGHANDLER_START; size_t i; (void) signo; iprintf("next message ID: %" PRIu32, message_id); @@ -1746,5 +1747,6 @@ void received_info(int signo) for (i = 0; i < mapping_size; i++) if ((int)i != mapping[i]) iprintf(" %zu -> %i", i, mapping[i]); + SIGHANDLER_END; } -- cgit v1.2.3-70-g09d2