|
@@ -1215,7 +1215,7 @@ void add_boot_device_path(int32_t bootindex, DeviceState *dev,
|
|
|
|
|
|
node = g_malloc0(sizeof(FWBootEntry));
|
|
|
node->bootindex = bootindex;
|
|
|
- node->suffix = suffix ? g_strdup(suffix) : NULL;
|
|
|
+ node->suffix = g_strdup(suffix);
|
|
|
node->dev = dev;
|
|
|
|
|
|
QTAILQ_FOREACH(i, &fw_boot_order, link) {
|