core: correct argument comments

This commit is contained in:
Jelle van der Waa
2025-05-06 16:26:29 +02:00
parent 52068c1e9c
commit 396b3a1ea7
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -661,7 +661,7 @@ static int asynchronous_expire(int dev_autofs_fd, int ioctl_fd) {
(int[]) { dev_autofs_fd, ioctl_fd },
/* n_except_fds= */ 2,
FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_REOPEN_LOG,
/* pid= */ NULL);
/* ret_pid= */ NULL);
if (r != 0)
return r;
+2 -2
View File
@@ -3056,7 +3056,7 @@ int unit_check_oomd_kill(Unit *u) {
LOG_UNIT_INVOCATION_ID(u),
LOG_UNIT_MESSAGE(u, "systemd-oomd killed some process(es) in this unit."));
unit_notify_cgroup_oom(u, /* ManagedOOM= */ true);
unit_notify_cgroup_oom(u, /* managed_oom= */ true);
return 1;
}
@@ -3098,7 +3098,7 @@ int unit_check_oom(Unit *u) {
LOG_UNIT_INVOCATION_ID(u),
LOG_UNIT_MESSAGE(u, "A process of this unit has been killed by the OOM killer."));
unit_notify_cgroup_oom(u, /* ManagedOOM= */ false);
unit_notify_cgroup_oom(u, /* managed_oom= */ false);
return 1;
}
+2 -2
View File
@@ -1333,7 +1333,7 @@ static int mount_private_apivfs(
/* We lack permissions to mount a new instance, and it is not already mounted. But we can
* access the host's, so as a final fallback bind-mount it to the destination, as most likely
* we are inside a user manager in an unprivileged user namespace. */
r = mount_nofollow_verbose(LOG_DEBUG, bind_source, entry_path, /* fstype = */ NULL, MS_BIND|MS_REC, /* opts = */ NULL);
r = mount_nofollow_verbose(LOG_DEBUG, bind_source, entry_path, /* fstype = */ NULL, MS_BIND|MS_REC, /* options = */ NULL);
if (r < 0)
return r;
@@ -1348,7 +1348,7 @@ static int mount_private_apivfs(
log_debug_errno(r, "Failed to unmount directories below '%s', ignoring: %m", entry_path);
/* Then, move the new mount instance. */
r = mount_nofollow_verbose(LOG_DEBUG, temporary_mount, entry_path, /* fstype = */ NULL, MS_MOVE, /* opts = */ NULL);
r = mount_nofollow_verbose(LOG_DEBUG, temporary_mount, entry_path, /* fstype = */ NULL, MS_MOVE, /* options = */ NULL);
if (r < 0)
return r;
+1 -1
View File
@@ -4170,7 +4170,7 @@ PresetAction unit_get_unit_file_preset(Unit *u) {
u->manager->runtime_scope,
/* root_dir= */ NULL,
bn,
/* cache= */ NULL));
/* cached= */ NULL));
}
Unit* unit_ref_set(UnitRef *ref, Unit *source, Unit *target) {