diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-27 13:02:48 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-27 13:02:48 +0300 |
commit | 70060d25d23278f6b636a535edca4a0c4006decd (patch) | |
tree | 372a280d63bab86ec9ffddc76ec28b27a7a1b3ee /networking/tftp.c | |
parent | edd580a088fe67f33036d3732f66f917b1c0a80b (diff) |
s/fileno\(stdin\)/STDIN_FILENO/g
s/fileno\(stdout\)/STDOUT_FILENO/g
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index bd973d79a..bfa9897b9 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -576,7 +576,7 @@ int tftp_main(int argc, char **argv) result = tftp(cmd, host, remotefile, fd, port, blocksize); #ifdef CONFIG_FEATURE_CLEAN_UP - if (!(fd == fileno(stdout) || fd == fileno(stdin))) { + if (!(fd == STDOUT_FILENO || fd == STDIN_FILENO)) { close(fd); } #endif |