diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ int main(int argc, const char *argv[]) { /* If the filename is the special case of -, we emit stdin */ if (strncmp(argv[i], "-", 1) == 0) { - if (cfd(0, buf) == -1) { + if (cfp(stdin, buf) == -1) { exv = EXIT_FAILURE; } @@ -40,7 +40,7 @@ int main(int argc, const char *argv[]) { /* If there were no arguments, we assume the user wants us to read from * stdin, which should already be opened */ } else { - if (cfd(0, buf) == -1) { + if (cfp(stdin, buf) == -1) { exv = EXIT_FAILURE; } } |