FreeCalypso > hg > freecalypso-tools
diff rvinterf/asyncshell/sendarb.c @ 64:d43d82cbfb85
fc-shell: use the newly adopted exit code convention
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 26 Oct 2016 22:25:18 +0000 |
parents | e7502631a0f9 |
children |
line wrap: on
line diff
--- a/rvinterf/asyncshell/sendarb.c Wed Oct 26 22:00:39 2016 +0000 +++ b/rvinterf/asyncshell/sendarb.c Wed Oct 26 22:25:18 2016 +0000 @@ -9,6 +9,7 @@ #include <strings.h> #include <stdlib.h> #include "limits.h" +#include "exitcodes.h" cmd_send_common(argc, argv) char **argv; @@ -22,7 +23,7 @@ if (*endp) { printf( "error: all arguments to send command must be hex bytes\n"); - return(1); + return(ERROR_USAGE); } } /* send it! */