Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- libmount/src/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/lock.c b/libmount/src/lock.c index 80ccdee..9f04725 100644 --- a/libmount/src/lock.c +++ b/libmount/src/lock.c @@ -589,7 +589,7 @@ void clean_lock(void) mnt_free_lock(lock); } -void sig_handler(int sig) +void __attribute__((__noreturn__)) sig_handler(int sig) { errx(EXIT_FAILURE, "\n%d: catch signal: %s\n", getpid(), strsignal(sig)); } -- 1.7.11.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html