mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-06 11:33:14 +03:00
pvs: replace 'unknown device' with [unknown]
A config setting can restore the old string.
This commit is contained in:
@@ -1108,5 +1108,5 @@ int dev_fd(struct device *dev)
|
||||
const char *dev_name(const struct device *dev)
|
||||
{
|
||||
return (dev && dev->aliases.n) ? dm_list_item(dev->aliases.n, struct dm_str_list)->str :
|
||||
"unknown device";
|
||||
unknown_device_name();
|
||||
}
|
||||
|
Reference in New Issue
Block a user