]> git.ipfire.org Git - thirdparty/grub.git/commit
disk/dmraid_nvidia: Format string error in grub_error()
authorGlenn Washburn <development@efficientek.com>
Fri, 5 Mar 2021 00:22:35 +0000 (18:22 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 10 Mar 2021 13:50:44 +0000 (14:50 +0100)
commit334c0ef3d0cea602c84d7c161e4aa2130acb80ad
tree06d1ae1f6a54b091c04bc4bd5ee1d868eaaebe08
parent9f5af956faae263d171354ef4abec753aa7e0527
disk/dmraid_nvidia: Format string error in grub_error()

The grub_error() has a format string expecting two arguments, but only one
provided. According to the comments in the struct grub_nv_super definition,
the version field looks like a version number where major.minor is encoded
as each a byte in the two-byte short.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/dmraid_nvidia.c