Update putword() to accept a FILE *

This commit is contained in:
sin
2015-04-21 17:40:57 +01:00
parent 504855ff96
commit c914a2feca
4 changed files with 9 additions and 9 deletions

2
echo.c
View File

@@ -14,7 +14,7 @@ main(int argc, char *argv[])
}
for (; *argv; argc--, argv++)
putword(*argv);
putword(stdout, *argv);
if (!nflag)
putchar('\n');