Use sysexits.h for better exit-codes
[mmh] / sbr / seq_msgstats.c
index 40b8474..eb483b7 100644 (file)
@@ -4,13 +4,14 @@
 ** (These functions had once been macros in h/mh.h)
 */
 
+#include <sysexits.h>
 #include <h/mh.h>
 
 static void
 assert_msg_range(struct msgs *mp, int msgnum)
 {
        if (msgnum < mp->lowoff || msgnum > mp->hghoff) {
-               adios(NULL, "Bug: message out of bounds");
+               adios(EX_SOFTWARE, NULL, "Bug: message out of bounds");
        }
 }