summaryrefslogtreecommitdiffstats
path: root/serprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'serprog.c')
-rw-r--r--serprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serprog.c b/serprog.c
index ee72da3..69d0c08 100644
--- a/serprog.c
+++ b/serprog.c
@@ -95,7 +95,7 @@ static int sp_opbuf_usage = 0;
whether the command is supported before doing it */
static int sp_check_avail_automatic = 0;
-static void sp_die(char *msg)
+static void __attribute__((noreturn)) sp_die(char *msg)
{
perror(msg);
exit(1);
OpenPOWER on IntegriCloud