mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
Various fixes for typos found by lintian (#3705)
This commit is contained in:
parent
037a3ded54
commit
595bfe7df2
4
NEWS
4
NEWS
@ -569,7 +569,7 @@ CHANGES WITH 228:
|
||||
the service.
|
||||
|
||||
* Timer units gained support for a new RemainAfterElapse=
|
||||
setting which takes a boolean argument. It defaults on,
|
||||
setting which takes a boolean argument. It defaults to on,
|
||||
exposing behaviour unchanged to previous releases. If set to
|
||||
off, timer units are unloaded after they elapsed if they
|
||||
cannot elapse again. This is particularly useful for
|
||||
@ -760,7 +760,7 @@ CHANGES WITH 227:
|
||||
* Support for USB FunctionFS activation has been added. This
|
||||
allows implementation of USB gadget services that are
|
||||
activated as soon as they are requested, so that they don't
|
||||
have to run continously, similar to classic socket
|
||||
have to run continuously, similar to classic socket
|
||||
activation.
|
||||
|
||||
* The "systemctl exit" command now optionally takes an
|
||||
|
@ -81,7 +81,7 @@
|
||||
<para>To introspect a local device on a system, a udev device
|
||||
object can be created via
|
||||
<citerefentry><refentrytitle>udev_device_new_from_syspath</refentrytitle><manvolnum>3</manvolnum></citerefentry>
|
||||
and friends. The device object allows to query current state,
|
||||
and friends. The device object allows one to query current state,
|
||||
read and write attributes and lookup properties of the device in
|
||||
question.</para>
|
||||
|
||||
|
@ -123,7 +123,7 @@
|
||||
regarding the various types of clocks. The <parameter>usec</parameter> parameter specifies the earliest time, in
|
||||
microseconds (µs), relative to the clock's epoch, when the timer shall be triggered. If a time already in the past
|
||||
is specified (including <constant>0</constant>), this timer source "fires" immediately and is ready to be
|
||||
dispatched. If the paramater is specified as <constant>UINT64_MAX</constant> the timer event will never elapse,
|
||||
dispatched. If the parameter is specified as <constant>UINT64_MAX</constant> the timer event will never elapse,
|
||||
which may be used as an alternative to explicitly disabling a timer event source with
|
||||
<citerefentry><refentrytitle>sd_event_source_set_enabled</refentrytitle><manvolnum>3</manvolnum></citerefentry>. The
|
||||
<parameter>accuracy</parameter> parameter specifies an additional accuracy value in µs specifying how much the
|
||||
|
@ -142,7 +142,7 @@
|
||||
<varname>FileDescriptorName=</varname> in socket unit files, and enables use of
|
||||
<citerefentry><refentrytitle>sd_listen_fds_with_names</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
|
||||
Multiple entries may be specifies using separate options or by separating names with colons
|
||||
(<literal>:</literal>) in one option. In case more names are given than descriptors, superflous ones willl be
|
||||
(<literal>:</literal>) in one option. In case more names are given than descriptors, superfluous ones willl be
|
||||
ignored. In case less names are given than descriptors, the remaining file descriptors will be unnamed.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
@ -473,7 +473,7 @@
|
||||
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>3</manvolnum></citerefentry>
|
||||
and
|
||||
<citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>3</manvolnum></citerefentry>
|
||||
automatically setup the appropiate dependencies to make this happen.
|
||||
automatically setup the appropriate dependencies to make this happen.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -76,7 +76,7 @@
|
||||
|
||||
<para>Note that in case the unit to activate is already active at the time the timer elapses it is not restarted,
|
||||
but simply left running. There is no concept of spawning new service instances in this case. Due to this, services
|
||||
with <varname>RemainAfterExit=</varname> set (which stay around continously even after the service's main process
|
||||
with <varname>RemainAfterExit=</varname> set (which stay around continuously even after the service's main process
|
||||
exited) are usually not suitable for activation via repetitive timers, as they will only be activated once, and
|
||||
then stay around forever.</para>
|
||||
</refsect1>
|
||||
|
@ -101,7 +101,7 @@ static int verify_esp(const char *p, uint32_t *part, uint64_t *pstart, uint64_t
|
||||
errno = 0;
|
||||
r = blkid_do_safeprobe(b);
|
||||
if (r == -2) {
|
||||
log_error("File system \"%s\" is ambigious.", p);
|
||||
log_error("File system \"%s\" is ambiguous.", p);
|
||||
return -ENODEV;
|
||||
} else if (r == 1) {
|
||||
log_error("File system \"%s\" does not contain a label.", p);
|
||||
|
@ -1136,7 +1136,7 @@ int unit_watch_cgroup(Unit *u) {
|
||||
/* Only applies to the unified hierarchy */
|
||||
r = cg_unified();
|
||||
if (r < 0)
|
||||
return log_unit_error_errno(u, r, "Failed detect wether the unified hierarchy is used: %m");
|
||||
return log_unit_error_errno(u, r, "Failed detect whether the unified hierarchy is used: %m");
|
||||
if (r == 0)
|
||||
return 0;
|
||||
|
||||
|
@ -1683,7 +1683,7 @@ static void unit_check_unneeded(Unit *u) {
|
||||
if (unit_active_or_pending(other))
|
||||
return;
|
||||
|
||||
/* If stopping a unit fails continously we might enter a stop
|
||||
/* If stopping a unit fails continuously we might enter a stop
|
||||
* loop here, hence stop acting on the service being
|
||||
* unnecessary after a while. */
|
||||
if (!ratelimit_test(&u->auto_stop_ratelimit)) {
|
||||
@ -1728,7 +1728,7 @@ static void unit_check_binds_to(Unit *u) {
|
||||
if (!stop)
|
||||
return;
|
||||
|
||||
/* If stopping a unit fails continously we might enter a stop
|
||||
/* If stopping a unit fails continuously we might enter a stop
|
||||
* loop here, hence stop acting on the service being
|
||||
* unnecessary after a while. */
|
||||
if (!ratelimit_test(&u->auto_stop_ratelimit)) {
|
||||
|
@ -60,7 +60,7 @@ static int mhd_respond_internal(struct MHD_Connection *connection,
|
||||
if (!response)
|
||||
return MHD_NO;
|
||||
|
||||
log_debug("Queing response %u: %s", code, buffer);
|
||||
log_debug("Queueing response %u: %s", code, buffer);
|
||||
MHD_add_response_header(response, "Content-Type", "text/plain");
|
||||
r = MHD_queue_response(connection, code, response);
|
||||
MHD_destroy_response(response);
|
||||
|
@ -197,7 +197,7 @@ int lldp_neighbor_parse(sd_lldp_neighbor *n) {
|
||||
assert(n);
|
||||
|
||||
if (n->raw_size < sizeof(struct ether_header)) {
|
||||
log_lldp("Recieved truncated packet, ignoring.");
|
||||
log_lldp("Received truncated packet, ignoring.");
|
||||
return -EBADMSG;
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,7 @@ _public_ int sd_pid_get_cgroup(pid_t pid, char **cgroup) {
|
||||
|
||||
/* The internal APIs return the empty string for the root
|
||||
* cgroup, let's return the "/" in the public APIs instead, as
|
||||
* that's easier and less ambigious for people to grok. */
|
||||
* that's easier and less ambiguous for people to grok. */
|
||||
if (isempty(c)) {
|
||||
free(c);
|
||||
c = strdup("/");
|
||||
|
@ -953,7 +953,7 @@ static int method_clean_pool(sd_bus_message *message, void *userdata, sd_bus_err
|
||||
|
||||
/* Create a temporary file we can dump information about deleted images into. We use a temporary file for this
|
||||
* instead of a pipe or so, since this might grow quit large in theory and we don't want to process this
|
||||
* continously */
|
||||
* continuously */
|
||||
result_fd = open_tmpfile_unlinkable("/tmp/", O_RDWR|O_CLOEXEC);
|
||||
if (result_fd < 0)
|
||||
return -errno;
|
||||
|
@ -2726,7 +2726,7 @@ network_file_fail:
|
||||
|
||||
r = sd_dhcp_client_set_request_address(link->dhcp_client, &address.in);
|
||||
if (r < 0)
|
||||
return log_link_error_errno(link, r, "Falied to set inital DHCPv4 address %s: %m", dhcp4_address);
|
||||
return log_link_error_errno(link, r, "Falied to set initial DHCPv4 address %s: %m", dhcp4_address);
|
||||
}
|
||||
|
||||
dhcp4_address_fail:
|
||||
@ -2744,7 +2744,7 @@ dhcp4_address_fail:
|
||||
|
||||
r = sd_ipv4ll_set_address(link->ipv4ll, &address.in);
|
||||
if (r < 0)
|
||||
return log_link_error_errno(link, r, "Falied to set inital IPv4LL address %s: %m", ipv4ll_address);
|
||||
return log_link_error_errno(link, r, "Falied to set initial IPv4LL address %s: %m", ipv4ll_address);
|
||||
}
|
||||
|
||||
ipv4ll_address_fail:
|
||||
|
@ -2873,7 +2873,7 @@ static int outer_child(
|
||||
if (l < 0)
|
||||
return log_error_errno(errno, "Failed to recv UID shift: %m");
|
||||
if (l != sizeof(arg_uid_shift)) {
|
||||
log_error("Short read while recieving UID shift.");
|
||||
log_error("Short read while receiving UID shift.");
|
||||
return -EIO;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user