mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
Merge pull request #6780 from poettering/agent-message
Three minor fixes.
This commit is contained in:
commit
c5aaaebced
@ -101,7 +101,7 @@
|
||||
systems that may be mounted with this command.</para>
|
||||
|
||||
<para><command>systemd-umount</command> can be used to unmount a mount or automount point. It is the same
|
||||
as <command>systemd-mount</command> <option>--unmount</option>.</para>
|
||||
as <command>systemd-mount</command> <option>--umount</option>.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -92,7 +92,7 @@ int bus_forward_agent_released(Manager *m, const char *path) {
|
||||
"Released",
|
||||
"s", path);
|
||||
if (r < 0)
|
||||
return log_warning_errno(r, "Failed to propagate agent release message: %m");
|
||||
return log_debug_errno(r, "Failed to propagate agent release message: %m");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -1784,7 +1784,7 @@ static int manager_dispatch_cgroups_agent_fd(sd_event_source *source, int fd, ui
|
||||
buf[n] = 0;
|
||||
|
||||
manager_notify_cgroup_empty(m, buf);
|
||||
bus_forward_agent_released(m, buf);
|
||||
(void) bus_forward_agent_released(m, buf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -269,7 +269,7 @@ int efi_set_variable(
|
||||
_cleanup_close_ int fd = -1;
|
||||
|
||||
assert(name);
|
||||
assert(value);
|
||||
assert(value || size == 0);
|
||||
|
||||
if (asprintf(&p,
|
||||
"/sys/firmware/efi/efivars/%s-%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
||||
|
Loading…
Reference in New Issue
Block a user