* grub-core/normal/menu_text.c (grub_print_message_indented_real): Fix a
warning.
This commit is contained in:
parent
668f304f4d
commit
b4a6a53310
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/normal/menu_text.c (grub_print_message_indented_real): Fix a
|
||||||
|
warning.
|
||||||
|
|
||||||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-install.in: Use file identifier if no UUID is available
|
* util/grub-install.in: Use file identifier if no UUID is available
|
||||||
|
|
|
@ -70,7 +70,7 @@ grub_print_message_indented_real (const char *msg, int margin_left,
|
||||||
grub_uint32_t *unicode_msg;
|
grub_uint32_t *unicode_msg;
|
||||||
grub_uint32_t *last_position;
|
grub_uint32_t *last_position;
|
||||||
grub_size_t msg_len = grub_strlen (msg) + 2;
|
grub_size_t msg_len = grub_strlen (msg) + 2;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
unicode_msg = grub_malloc (msg_len * sizeof (grub_uint32_t));
|
unicode_msg = grub_malloc (msg_len * sizeof (grub_uint32_t));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue