From: tedu Date: Fri, 16 Oct 2015 01:37:14 +0000 (+0000) Subject: exit(1) is better for the impossible condition X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=552598f045b669c87571a4faa76daeea76a7eb98;p=openbsd exit(1) is better for the impossible condition --- 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