hush: initial stab at brace expansion support
[oweals/busybox.git] / miscutils / fbsplash.c
index 0afd189ca596e877be56b4e0f6d905ac6f8b4089..4560bb2e99e1a135907699f5501520797b38f5c7 100644 (file)
@@ -227,7 +227,7 @@ static void fb_drawimage(void)
                int fd = open_zipped(G.image_filename);
                if (fd < 0)
                        bb_simple_perror_msg_and_die(G.image_filename);
-               theme_file = fdopen(fd, "r");
+               theme_file = xfdopen_for_read(fd);
        }
        head = xmalloc(256);