diff options
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r-- | miscutils/fbsplash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index 67847c1eb..380f09bea 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
@@ -341,7 +341,7 @@ static void init(const char *cfg_filename) | |||
341 | case 7: | 341 | case 7: |
342 | G.bdebug_messages = val; | 342 | G.bdebug_messages = val; |
343 | if (G.bdebug_messages) | 343 | if (G.bdebug_messages) |
344 | G.logfile_fd = xfopen("/tmp/fbsplash.log", "w"); | 344 | G.logfile_fd = xfopen_for_write("/tmp/fbsplash.log"); |
345 | break; | 345 | break; |
346 | #endif | 346 | #endif |
347 | err: | 347 | err: |