From: Glenn Washburn Date: Fri, 5 Mar 2021 00:22:34 +0000 (-0600) Subject: video/bochs: grub_error() format string add missing format code X-Git-Tag: grub-2.06-rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5af956faae263d171354ef4abec753aa7e0527;p=thirdparty%2Fgrub.git video/bochs: grub_error() format string add missing format code Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/grub-core/video/bochs.c b/grub-core/video/bochs.c index 7a249eb21..30ea1bd82 100644 --- a/grub-core/video/bochs.c +++ b/grub-core/video/bochs.c @@ -249,11 +249,11 @@ grub_video_bochs_setup (unsigned int width, unsigned int height, } if (width > BOCHS_MAX_WIDTH) - return grub_error (GRUB_ERR_IO, "width must be at most", + return grub_error (GRUB_ERR_IO, "width must be at most %d", BOCHS_MAX_WIDTH); if (height > BOCHS_MAX_HEIGHT) - return grub_error (GRUB_ERR_IO, "height must be at most", + return grub_error (GRUB_ERR_IO, "height must be at most %d", BOCHS_MAX_HEIGHT); if (width & (BOCHS_WIDTH_ALIGN - 1))