diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/fbsplash.c | 2 | ||||
-rw-r--r-- | miscutils/man.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index 12a77b70f..7b695b26f 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
@@ -353,7 +353,7 @@ static void fb_drawimage(void) | |||
353 | if (LONE_DASH(G.image_filename)) { | 353 | if (LONE_DASH(G.image_filename)) { |
354 | theme_file = stdin; | 354 | theme_file = stdin; |
355 | } else { | 355 | } else { |
356 | int fd = open_zipped(G.image_filename); | 356 | int fd = open_zipped(G.image_filename, /*fail_if_not_compressed:*/ 0); |
357 | if (fd < 0) | 357 | if (fd < 0) |
358 | bb_simple_perror_msg_and_die(G.image_filename); | 358 | bb_simple_perror_msg_and_die(G.image_filename); |
359 | theme_file = xfdopen_for_read(fd); | 359 | theme_file = xfdopen_for_read(fd); |
diff --git a/miscutils/man.c b/miscutils/man.c index 51baceb16..f046e24f3 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
@@ -102,7 +102,7 @@ static int run_pipe(const char *pager, char *man_filename, int man, int level) | |||
102 | 102 | ||
103 | ordinary_manpage: | 103 | ordinary_manpage: |
104 | close(STDIN_FILENO); | 104 | close(STDIN_FILENO); |
105 | open_zipped(man_filename); /* guaranteed to use fd 0 (STDIN_FILENO) */ | 105 | open_zipped(man_filename, /*fail_if_not_compressed:*/ 0); /* guaranteed to use fd 0 (STDIN_FILENO) */ |
106 | /* "2>&1" is added so that nroff errors are shown in pager too. | 106 | /* "2>&1" is added so that nroff errors are shown in pager too. |
107 | * Otherwise it may show just empty screen */ | 107 | * Otherwise it may show just empty screen */ |
108 | cmd = xasprintf( | 108 | cmd = xasprintf( |