diff options
Diffstat (limited to 'archival/uncompress.c')
-rw-r--r-- | archival/uncompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/uncompress.c b/archival/uncompress.c index 3c78961d5..461179016 100644 --- a/archival/uncompress.c +++ b/archival/uncompress.c | |||
@@ -25,7 +25,7 @@ int uncompress_main(int argc, char **argv) | |||
25 | int src_fd; | 25 | int src_fd; |
26 | int dst_fd; | 26 | int dst_fd; |
27 | 27 | ||
28 | if (strcmp(compressed_file, "-") == 0) { | 28 | if (LONE_DASH(compressed_file)) { |
29 | src_fd = STDIN_FILENO; | 29 | src_fd = STDIN_FILENO; |
30 | flags |= GUNZIP_TO_STDOUT; | 30 | flags |= GUNZIP_TO_STDOUT; |
31 | } else { | 31 | } else { |