dmraid_nvidia: Set a name to usable value to avoid null dereference.
Reported by: Andrei Borzenkov
This commit is contained in:
parent
5c46165a7c
commit
9f27f9f691
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ grub_dmraid_nv_detect (grub_disk_t disk,
|
|||
|
||||
return grub_diskfilter_make_raid (sizeof (sb.array.signature),
|
||||
uuid, sb.array.total_volumes,
|
||||
NULL, disk_size,
|
||||
"nv", disk_size,
|
||||
sb.array.stripe_block_size,
|
||||
GRUB_RAID_LAYOUT_LEFT_ASYMMETRIC,
|
||||
level);
|
||||
|
|
Loading…
Reference in a new issue