From 552598f045b669c87571a4faa76daeea76a7eb98 Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 16 Oct 2015 01:37:14 +0000 Subject: [PATCH] exit(1) is better for the impossible condition --- usr.sbin/rebound/rebound.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rebound/rebound.c b/usr.sbin/rebound/rebound.c index ebc98ec9336..a0e37f33a6f 100644 --- a/usr.sbin/rebound/rebound.c +++ b/usr.sbin/rebound/rebound.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rebound.c,v 1.14 2015/10/15 22:21:28 tedu Exp $ */ +/* $OpenBSD: rebound.c,v 1.15 2015/10/16 01:37:14 tedu Exp $ */ /* * Copyright (c) 2015 Ted Unangst * @@ -452,7 +452,8 @@ launch(const char *confname, int ud, int ld, int kq) } } - exit(0); + /* not reached */ + exit(1); } static void __dead -- 2.20.1