Date
1 - 2 of 2
[psplash][PATCH] Improve warnings from probing for double buffering
Zach Welch <zach.welch@...>
Adds missing newline characters in output, while clarifying that these
messages are warnings that may be safely ignored. Signed-off-by: Zachary T Welch <zach.welch@...> --- psplash-fb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/psplash-fb.c b/psplash-fb.c index 6603572..2babb5f 100644 --- a/psplash-fb.c +++ b/psplash-fb.c @@ -197,7 +197,8 @@ psplash_fb_new (int angle, int fbdev_id) =20 /* Setup double virtual resolution for double buffering */ if (ioctl(fb->fd, FBIOPAN_DISPLAY, &fb_var) =3D=3D -1) { - fprintf(stderr, "FBIOPAN_DISPLAY not supported, double buffering dis= abled"); + fprintf(stderr, "warning: FBIOPAN_DISPLAY not supported, " + "double buffering disabled\n"); } else { if (fb_var.yres_virtual =3D=3D fb_var.yres * 2) { DBG("Virtual resolution already double"); @@ -205,7 +206,8 @@ psplash_fb_new (int angle, int fbdev_id) } else { fb_var.yres_virtual =3D fb_var.yres * 2; if (ioctl(fb->fd, FBIOPUT_VSCREENINFO, &fb_var) =3D=3D -1) { - fprintf(stderr, "FBIOPUT_VSCREENINFO failed, double buffering di= sabled"); + fprintf(stderr, "warning: FBIOPUT_VSCREENINFO failed, " + "double buffering disabled\n"); } else { if (ioctl(fb->fd, FBIOGET_FSCREENINFO, &fb_fix) =3D=3D -1) { perror(" Error getting the fixed framebuffer info"); --=20 2.33.1 |
|
Richard Purdie
On Wed, 2021-10-20 at 13:51 -0700, Zach Welch wrote:
Adds missing newline characters in output, while clarifying that theseThis patch had some discussion at the summit and OEDVM. For the record, it did actually get merged a day after it was sent! https://git.yoctoproject.org/psplash/commit/?id=fdbd111d6bab2fbbae62a041123fc6b644aa97aa Cheers, Richard |
|