From afdf3c9af224e4f9ee9b166c013a15c999769c56 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Wed, 23 Apr 2003 16:44:58 +0000 Subject: [PATCH] Fix: Return when called with no argument (to avoid failing assertion) --- src/ca/acctstMain.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ca/acctstMain.c b/src/ca/acctstMain.c index 23a7949ea..4c700a30b 100644 --- a/src/ca/acctstMain.c +++ b/src/ca/acctstMain.c @@ -24,9 +24,10 @@ int main ( int argc, char **argv ) if ( argc < 2 || argc > 6 ) { - printf ( -"usage: %s [progress logging level] [channel count] [repetition count] [enable preemptive callback]\n", - argv[0] ); + printf ("usage: %s [progress logging level] [channel count] " + "[repetition count] [enable preemptive callback]\n", + argv[0] ); + return 1; } if ( argc >= 3 ) {