mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
arg count
This commit is contained in:
parent
7ca705927e
commit
311b2afde9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ main(int argc, char **argv)
|
|||
char buf[8192];
|
||||
|
||||
argv0 = argv[0];
|
||||
if(argc > 3){
|
||||
if(argc != 3){
|
||||
fprint(2, "usage: %s console logfile \n", argv0);
|
||||
exits("usage");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue