diff options
Diffstat (limited to 'vl.c')
| -rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c index 6e6225f09b..be0a93c53d 100644 --- a/vl.c +++ b/vl.c @@ -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) { |