forked from bonsai/harakit
cat(1p): minor typo
This commit is contained in:
parent
ede0817cbd
commit
dd584b2886
@ -97,7 +97,7 @@ int main(int argc, char *argv[]) {
|
|||||||
for (i = optind; i < argc; i++) {
|
for (i = optind; i < argc; i++) {
|
||||||
if (argv[i][0] == '-' && argv[i][1] != '\0') {
|
if (argv[i][0] == '-' && argv[i][1] != '\0') {
|
||||||
continue;
|
continue;
|
||||||
} if (strcmp(argv[i], "-") == 0) {
|
} else if (strcmp(argv[i], "-") == 0) {
|
||||||
file = stdin;
|
file = stdin;
|
||||||
} else if ((file = fopen(argv[i], "r")) == NULL) {
|
} else if ((file = fopen(argv[i], "r")) == NULL) {
|
||||||
switch (errno) {
|
switch (errno) {
|
||||||
|
Loading…
Reference in New Issue
Block a user