mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 12:54:58 +00:00
thunderbolt: validation: don't print empty strings
Before: "Given location is outside of the given FW ((null))"
This commit is contained in:
parent
44879b0252
commit
2be0c71b2c
@ -94,7 +94,7 @@ read_location (const FuThunderboltFwLocation *location,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
FWUPD_ERROR, FWUPD_ERROR_READ,
|
FWUPD_ERROR, FWUPD_ERROR_READ,
|
||||||
"Given location is outside of the given FW (%s)",
|
"Given location is outside of the given FW (%s)",
|
||||||
location->description);
|
location->description ? location->description : "N/A");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user