diff options
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r-- | miscutils/hdparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 7afa9ff86..8c0e47334 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -1924,7 +1924,7 @@ static void identify_from_stdin(void) | |||
1924 | unsigned char *b = (unsigned char *)buf; | 1924 | unsigned char *b = (unsigned char *)buf; |
1925 | int i; | 1925 | int i; |
1926 | 1926 | ||
1927 | xread(0, buf, 1280); | 1927 | xread(STDIN_FILENO, buf, 1280); |
1928 | 1928 | ||
1929 | // Convert the newline-separated hex data into an identify block. | 1929 | // Convert the newline-separated hex data into an identify block. |
1930 | 1930 | ||