diff options
Diffstat (limited to 'src/md5sum.c')
-rw-r--r-- | src/md5sum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index 19dac0861..e58a68ee8 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -46,7 +46,7 @@ #include "error.h" #include "fadvise.h" #include "stdio--.h" -#include "xsetmode.h" +#include "xbinary-io.h" /* The official name of this program (e.g., no 'g' prefix). */ #if HASH_ALGO_MD5 @@ -598,7 +598,7 @@ digest_file (const char *filename, int *binary, unsigned char *bin_result, if (*binary < 0) *binary = ! isatty (STDIN_FILENO); if (*binary) - xsetmode (STDIN_FILENO, O_BINARY); + xset_binary_mode (STDIN_FILENO, O_BINARY); } } else |