Bugprone argument comment - round 4 (#37380)
Follow up from https://github.com/systemd/systemd/pull/37356
This commit is contained in:
@@ -567,7 +567,7 @@ static int device_new_from_devname(sd_device **ret, const char *devname, bool st
|
||||
|
||||
_cleanup_free_ char *resolved = NULL;
|
||||
struct stat st;
|
||||
r = chase_and_stat(devname, /* root = */ NULL, /* flags = */ 0, &resolved, &st);
|
||||
r = chase_and_stat(devname, /* root = */ NULL, /* chase_flags = */ 0, &resolved, &st);
|
||||
if (ERRNO_IS_NEG_DEVICE_ABSENT(r))
|
||||
return -ENODEV;
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user