diskfilter: Make name a const char to fix compilation error.
This commit is contained in:
parent
9f27f9f691
commit
389d509df0
2 changed files with 2 additions and 2 deletions
|
@ -1007,7 +1007,7 @@ grub_diskfilter_vg_register (struct grub_diskfilter_vg *vg)
|
||||||
|
|
||||||
struct grub_diskfilter_vg *
|
struct grub_diskfilter_vg *
|
||||||
grub_diskfilter_make_raid (grub_size_t uuidlen, char *uuid, int nmemb,
|
grub_diskfilter_make_raid (grub_size_t uuidlen, char *uuid, int nmemb,
|
||||||
char *name, grub_uint64_t disk_size,
|
const char *name, grub_uint64_t disk_size,
|
||||||
grub_uint64_t stripe_size,
|
grub_uint64_t stripe_size,
|
||||||
int layout, int level)
|
int layout, int level)
|
||||||
{
|
{
|
||||||
|
|
|
@ -172,7 +172,7 @@ grub_diskfilter_unregister (grub_diskfilter_t diskfilter)
|
||||||
|
|
||||||
struct grub_diskfilter_vg *
|
struct grub_diskfilter_vg *
|
||||||
grub_diskfilter_make_raid (grub_size_t uuidlen, char *uuid, int nmemb,
|
grub_diskfilter_make_raid (grub_size_t uuidlen, char *uuid, int nmemb,
|
||||||
char *name, grub_uint64_t disk_size,
|
const char *name, grub_uint64_t disk_size,
|
||||||
grub_uint64_t stripe_size,
|
grub_uint64_t stripe_size,
|
||||||
int layout, int level);
|
int layout, int level);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue