Ok?
Index: support.c
===================================================================
RCS file: /cvs/src/games/cribbage/support.c,v
retrieving revision 1.11
diff -u -p -r1.11 support.c
--- support.c 27 Oct 2009 23:59:24 -0000 1.11
+++ support.c 2 Nov 2010 19:31:12 -0000
@@ -31,6 +31,7 @@
*/
#include <curses.h>
+#include <err.h>
#include <string.h>
#include "deck.h"
@@ -107,7 +108,7 @@ cchose(CARD h[], int n, int s)
}
}
if (j < 0)
- errx("cchose internal error %d %d", j, n);
+ errx(1, "cchose internal error %d %d", j, n);
return (j);
}