uid-range: place 'ret' param at last

This commit is contained in:
Mike Yuan
2024-04-08 20:14:38 +08:00
parent 0aec92a5cc
commit 7fe28d8386
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ static bool check_sender_uid(sd_device_monitor *m, uid_t uid) {
return true;
if (!m->mapped_userns_uid_range) {
r = uid_range_load_userns(&m->mapped_userns_uid_range, NULL, UID_RANGE_USERNS_INSIDE);
r = uid_range_load_userns(/* path = */ NULL, UID_RANGE_USERNS_INSIDE, &m->mapped_userns_uid_range);
if (r < 0)
log_monitor_errno(m, r, "Failed to load UID ranges mapped to the current user namespace, ignoring: %m");
}