[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / error

Diff for /src/usr.bin/error/Attic/main.c between version 1.3 and 1.4

version 1.3, 1998/07/10 14:09:55 version 1.4, 2000/06/30 16:00:12
Line 164 
Line 164 
                 if (argc > 3)                  if (argc > 3)
                         errx(3, "Only takes 0 or 1 arguments\n");                          errx(3, "Only takes 0 or 1 arguments\n");
                 if ( (errorfile = fopen(argv[1], "r")) == NULL)                  if ( (errorfile = fopen(argv[1], "r")) == NULL)
                         err(4, argv[1]);                          err(4, "%s", argv[1]);
         }          }
         if ( (queryfile = fopen(im_on, "r")) == NULL){          if ( (queryfile = fopen(im_on, "r")) == NULL){
                 if (query){                  if (query){

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4