video/bochs: grub_error() format string add missing format code

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Glenn Washburn authored and Daniel Kiper committed 2021-03-10 14:50:44 +01:00
1 parent dc828b7d8b
commit 9f5af956fa
1 file changed
+2 -2
+2 -2
View File
@@ -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))