artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b6b6c
)
exit(1) is better for the impossible condition
author
tedu
<tedu@openbsd.org>
Fri, 16 Oct 2015 01:37:14 +0000
(
01:37
+0000)
committer
tedu
<tedu@openbsd.org>
Fri, 16 Oct 2015 01:37:14 +0000
(
01:37
+0000)
usr.sbin/rebound/rebound.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rebound/rebound.c
b/usr.sbin/rebound/rebound.c
index
ebc98ec
..
a0e37f3
100644
(file)
--- a/
usr.sbin/rebound/rebound.c
+++ b/
usr.sbin/rebound/rebound.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rebound.c,v 1.1
4 2015/10/15 22:21:28
tedu Exp $ */
+/* $OpenBSD: rebound.c,v 1.1
5 2015/10/16 01:37:14
tedu Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@
-452,7
+452,8
@@
launch(const char *confname, int ud, int ld, int kq)
}
}
- exit(0);
+ /* not reached */
+ exit(1);
}
static void __dead