summaryrefslogtreecommitdiffstats
path: root/src/nsresourced
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-04-08 13:38:29 +0200
committerMike Yuan <me@yhndnzj.com>2024-04-08 14:14:38 +0200
commit7fe28d83860c7f8b50a8fcb3b2c50e3945f3cb41 (patch)
treed6a50b6229b4e966af6fbb3062e8608a5ae7475a /src/nsresourced
parentuid-range: use FOREACH_ARRAY at one more place (diff)
downloadsystemd-7fe28d83860c7f8b50a8fcb3b2c50e3945f3cb41.tar.xz
systemd-7fe28d83860c7f8b50a8fcb3b2c50e3945f3cb41.zip
uid-range: place 'ret' param at last
Diffstat (limited to 'src/nsresourced')
-rw-r--r--src/nsresourced/nsresourcework.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsresourced/nsresourcework.c b/src/nsresourced/nsresourcework.c
index 9e68249ea8..6bd2fed06f 100644
--- a/src/nsresourced/nsresourcework.c
+++ b/src/nsresourced/nsresourcework.c
@@ -453,7 +453,7 @@ static int allocate_now(
assert_not_reached();
}
- r = uid_range_load_userns(&valid_range, /* path= */ NULL, UID_RANGE_USERNS_INSIDE);
+ r = uid_range_load_userns(/* path= */ NULL, UID_RANGE_USERNS_INSIDE, &valid_range);
if (r < 0)
return r;