Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- othersrc/dist/cdk/demos/serial.c 2001/01/04 19:59:45 1.1 +++ othersrc/dist/cdk/demos/serial.c 2001/04/06 11:13:53 1.2 @@ -107,7 +107,7 @@ int main (int argc, char **argv) { /* Create a pop-up dialog box... */ printf ("Error: Open of <%s> failed.\n", port); - exit (-1); + exit (1); } termInfo.c_cflag = CRTSCTS | CLOCAL;