aboutsummaryrefslogtreecommitdiff
path: root/miscutils/fbsplash.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r--miscutils/fbsplash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 0afd189ca..4560bb2e9 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -227,7 +227,7 @@ static void fb_drawimage(void)
227 int fd = open_zipped(G.image_filename); 227 int fd = open_zipped(G.image_filename);
228 if (fd < 0) 228 if (fd < 0)
229 bb_simple_perror_msg_and_die(G.image_filename); 229 bb_simple_perror_msg_and_die(G.image_filename);
230 theme_file = fdopen(fd, "r"); 230 theme_file = xfdopen_for_read(fd);
231 } 231 }
232 head = xmalloc(256); 232 head = xmalloc(256);
233 233