mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 02:31:05 +00:00
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:
1 parent
dc828b7d8b
commit
9f5af956fa
1 file changed
+2
-2
@@ -249,11 +249,11 @@ grub_video_bochs_setup (unsigned int width, unsigned int height,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (width > BOCHS_MAX_WIDTH)
|
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);
|
BOCHS_MAX_WIDTH);
|
||||||
|
|
||||||
if (height > BOCHS_MAX_HEIGHT)
|
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);
|
BOCHS_MAX_HEIGHT);
|
||||||
|
|
||||||
if (width & (BOCHS_WIDTH_ALIGN - 1))
|
if (width & (BOCHS_WIDTH_ALIGN - 1))
|
||||||
|
|||||||
Reference in new issue
Block a user