# | Line 197 | Line 197 | char *argv[]; | |
---|---|---|
197 | if (i < argc) { /* open picture file */ | |
198 | fname = argv[i]; | |
199 | fin = fopen(fname, "r"); | |
200 | < | if (fin == NULL) { |
201 | < | sprintf(errmsg, "cannot open file \"%s\"", fname); |
202 | < | quiterr(errmsg); |
203 | < | } |
200 | > | if (fin == NULL) |
201 | > | quiterr("cannot open picture file"); |
202 | } | |
203 | /* get header */ | |
204 | getheader(fin, headline, NULL); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |