mirror of
https://github.com/systemd/systemd
synced 2024-09-16 06:43:18 +00:00
udev: tiny fix to debug message
This commit is contained in:
parent
7504610ba0
commit
ab3a7372d2
|
@ -297,7 +297,7 @@ static int node_permissions_apply(sd_device *dev, bool apply,
|
|||
mode |= S_IFCHR;
|
||||
|
||||
if (lstat(devnode, &stats) < 0)
|
||||
return log_device_debug_errno(dev, errno, "cannot stat() node '%s' (%m)", devnode);
|
||||
return log_device_debug_errno(dev, errno, "cannot stat() node %s: %m", devnode);
|
||||
|
||||
if (((stats.st_mode & S_IFMT) != (mode & S_IFMT)) || (stats.st_rdev != devnum))
|
||||
return log_device_debug_errno(dev, SYNTHETIC_ERRNO(EEXIST), "Found node '%s' with non-matching devnum %s, skip handling",
|
||||
|
|
Loading…
Reference in a new issue