Guard against the unlikely case of the alias path containing the '%' symbols.
Reported by: arundel MFC after: 1 week
This commit is contained in:
parent
1084039b85
commit
f3c70bd299
@ -1016,7 +1016,7 @@ make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev,
|
||||
old_alias = NULL;
|
||||
ret = 0;
|
||||
} else {
|
||||
ret = make_dev_alias_p(flags, cdev, pdev, devfspath);
|
||||
ret = make_dev_alias_p(flags, cdev, pdev, "%s", devfspath);
|
||||
}
|
||||
out:
|
||||
if (old_alias != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user