diff options
Diffstat (limited to 'commands/splash.c')
-rw-r--r-- | commands/splash.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/commands/splash.c b/commands/splash.c index abd82873cb..f1cc8c83bd 100644 --- a/commands/splash.c +++ b/commands/splash.c @@ -54,9 +54,8 @@ static int do_splash(int argc, char *argv[]) sc = fb_open(fbdev); if (IS_ERR(sc)) { - int ret = -PTR_ERR(sc); - printf("fb_open: %s\n", strerror(ret)); - return ret; + printf("fb_open: %pe\n", sc); + return COMMAND_ERROR; } buf = gui_screen_render_buffer(sc); |