Commit 72a89a54 authored by Vladimir 'phcoder' Serbinenko's avatar Vladimir 'phcoder' Serbinenko
Browse files

* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing

	const attribute and use grub_isdigit.
parent b5ebecfa
2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing
const attribute and use grub_isdigit.
2011-04-06 Andrey <dev_null@ukr.net>
 
* grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
......@@ -808,10 +808,10 @@ grub_util_get_grub_dev (const char *os_dev)
if (mdadm_name)
{
char *newname;
char *q;
const char *q;
for (q = os_dev + strlen (os_dev) - 1; q >= os_dev && isdigit (*q);
q--);
for (q = os_dev + strlen (os_dev) - 1; q >= os_dev
&& grub_isdigit (*q); q--);
if (q >= os_dev && *q == 'p')
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment