Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-grub2
Commits
72a89a54
Commit
72a89a54
authored
Apr 08, 2011
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
72a89a54
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
grub-core/kern/emu/getroot.c
View file @
72a89a54
...
...
@@ -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'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment