mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/kern/emu/hostdisk.c (read_device_map): Add missing noreturn
on show_error.
This commit is contained in:
1 parent
9679053902
commit
c44866b2a6
2 files changed
+8
-2
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/kern/emu/hostdisk.c (read_device_map): Add missing noreturn
|
||||||
|
on show_error.
|
||||||
|
|
||||||
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/disk.c (grub_disk_write): Add missing const qualifier.
|
* grub-core/kern/disk.c (grub_disk_write): Add missing const qualifier.
|
||||||
|
|||||||
@@ -1145,8 +1145,9 @@ read_device_map (const char *dev_map)
|
|||||||
int lineno = 0;
|
int lineno = 0;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
auto void show_error (const char *msg);
|
auto void show_error (const char *msg)
|
||||||
void show_error (const char *msg)
|
__attribute__ ((noreturn));
|
||||||
|
void __attribute__ ((noreturn)) show_error (const char *msg)
|
||||||
{
|
{
|
||||||
grub_util_error ("%s:%d: %s", dev_map, lineno, msg);
|
grub_util_error ("%s:%d: %s", dev_map, lineno, msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user