From f131770b1465fbf423881f16ba85523a05f846fe Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Mon, 29 Dec 2014 09:45:58 +0000 Subject: [PATCH] tree-wide: spelling fixes https://github.com/vlajos/misspell_fixer https://github.com/torstehu/systemd/commit/b6fdeb618cf2f3ce1645b3315f15f482710c7ffa Thanks to Torstein Husebo . --- NEWS | 2 +- TODO | 2 +- man/sd_bus_negotiate_fds.xml | 2 +- man/sd_event_add_child.xml | 2 +- man/systemd-machine-id-commit.service.xml | 2 +- man/systemd-nspawn.xml | 2 +- man/systemd.link.xml | 2 +- man/udev.xml | 2 +- src/bus-proxyd/bus-proxyd.c | 2 +- src/bus-proxyd/bus-xml-policy.c | 2 +- src/core/machine-id-setup.c | 2 +- src/core/main.c | 2 +- src/core/shutdown.c | 2 +- src/core/unit.c | 2 +- src/journal/journalctl.c | 2 +- src/journal/journald-audit.c | 4 ++-- src/libsystemd-network/sd-dhcp-client.c | 2 +- src/libsystemd-network/test-pppoe.c | 4 ++-- src/libsystemd-terminal/grdev-drm.c | 2 +- src/libsystemd-terminal/grdev.c | 2 +- src/libsystemd-terminal/unifont-def.h | 2 +- .../unifont-glyph-array.bin | Bin 2621472 -> 2621472 bytes src/libsystemd/sd-rtnl/rtnl-message.c | 2 +- src/resolve/resolved-dns-packet.c | 2 +- src/shared/hashmap.c | 2 +- src/systemd/sd-id128.h | 2 +- src/test/test-path.c | 2 +- 27 files changed, 28 insertions(+), 28 deletions(-) diff --git a/NEWS b/NEWS index d5ab21a0b..d4d505d5d 100644 --- a/NEWS +++ b/NEWS @@ -3555,7 +3555,7 @@ CHANGES WITH 190: keys all the time, even in graphical sessions. If DEs want to handle these events on their own they should take the new handle-power-key, handle-sleep-key and handle-lid-switch - inhibitors during their runtime. A simple way to achiveve + inhibitors during their runtime. A simple way to achieve that is to invoke the DE wrapped in an invocation of: systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ... diff --git a/TODO b/TODO index 584503126..79d9be465 100644 --- a/TODO +++ b/TODO @@ -75,7 +75,7 @@ Features: * systemd-journal-upload (or a new, related tool): allow pushing out journal messages onto the network in BSD syslog protocol, - continously. Default to some link-local IP mcast group, to make this + continuously. Default to some link-local IP mcast group, to make this useful as a one-stop debugging tool. * synchronize console access with BSD locks: diff --git a/man/sd_bus_negotiate_fds.xml b/man/sd_bus_negotiate_fds.xml index 4fbffdf38..4babae5e2 100644 --- a/man/sd_bus_negotiate_fds.xml +++ b/man/sd_bus_negotiate_fds.xml @@ -115,7 +115,7 @@ along with systemd; If not, see . sd_bus_negotiate_creds() controls whether implicit sender credentials shall be attached automatically to all incoming messages. Takes a bus object, a - boolean indicating wether to enable or disable the credential + boolean indicating whether to enable or disable the credential parts encoded in the bit mask value argument. Note that not all transports support attaching sender credentials to messages, or do not support all types of sender credential parameters, or might diff --git a/man/sd_event_add_child.xml b/man/sd_event_add_child.xml index 7a84fcea7..ee524e171 100644 --- a/man/sd_event_add_child.xml +++ b/man/sd_event_add_child.xml @@ -147,7 +147,7 @@ along with systemd; If not, see . An invalid argument has been passed. This includes specyfing an empty mask in options or a mask - which constains values different than a combination of + which contains values different than a combination of WEXITED, WSTOPPED, and WCONTINUED. diff --git a/man/systemd-machine-id-commit.service.xml b/man/systemd-machine-id-commit.service.xml index 6da19b9f1..c6a0e8456 100644 --- a/man/systemd-machine-id-commit.service.xml +++ b/man/systemd-machine-id-commit.service.xml @@ -54,7 +54,7 @@ Description systemd-machine-id-commit.service is - a service responsible for commiting any transient + a service responsible for committing any transient /etc/machine-id file to a writable file system. See machine-id5 diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index fdb0c298b..fa0680ffc 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -535,7 +535,7 @@ at the same location. try-host and try-guest do the same but do not fail if the host does not have - persistant journalling enabled. + persistent journalling enabled. If auto (the default), and the right subdirectory of /var/log/journal diff --git a/man/systemd.link.xml b/man/systemd.link.xml index 0eb395089..33822e75e 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.xml @@ -99,7 +99,7 @@ property "INTERFACE". May contain shell style globs. This can not be used to match on names that have already been changed from userspace. - Caution is adviced when matching on + Caution is advised when matching on kernel-assigned names, as they are known to be unstable between reboots. diff --git a/man/udev.xml b/man/udev.xml index 34b2e12f7..1c7da0798 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -262,7 +262,7 @@ Execute a program to determine whether there is a match; the key is true if the program returns successfully. The device properties are made available to the - executed program in the environment. The program's standard ouput + executed program in the environment. The program's standard output is available in the RESULT key. This can only be used for very short-running foreground tasks. For details, see RUN. diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 583416a43..6d9e1a031 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -1021,7 +1021,7 @@ static int process_policy(sd_bus *from, sd_bus *to, sd_bus_message *m, Policy *p } if (granted) { - /* Then check whether us (the recipient) can recieve from the sender's name */ + /* Then check whether us (the recipient) can receive from the sender's name */ if (strv_isempty(sender_names)) { if (policy_check_recv(policy, our_ucred->uid, our_ucred->gid, m->header->type, NULL, m->path, m->interface, m->member)) return 0; diff --git a/src/bus-proxyd/bus-xml-policy.c b/src/bus-proxyd/bus-xml-policy.c index ac0e14b4f..cf39c5254 100644 --- a/src/bus-proxyd/bus-xml-policy.c +++ b/src/bus-proxyd/bus-xml-policy.c @@ -838,7 +838,7 @@ bool policy_check_recv(Policy *p, verdict = policy_check(p, &filter); log_full(LOG_AUTH | (verdict != ALLOW ? LOG_WARNING : LOG_DEBUG), - "Recieve permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s interface=%s path=%s member=%s: %s", + "Receive permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s interface=%s path=%s member=%s: %s", uid, gid, bus_message_type_to_string(message_type), strna(name), strna(path), strna(interface), strna(member), strna(verdict_to_string(verdict))); return verdict == ALLOW; diff --git a/src/core/machine-id-setup.c b/src/core/machine-id-setup.c index d91a02cf1..7e0aee6a7 100644 --- a/src/core/machine-id-setup.c +++ b/src/core/machine-id-setup.c @@ -205,7 +205,7 @@ int machine_id_commit(const char *root) { r = path_is_mount_point(etc_machine_id, false); if (r < 0) - return log_error_errno(r, "Failed to determine wether %s is a mount point: %m", etc_machine_id); + return log_error_errno(r, "Failed to determine whether %s is a mount point: %m", etc_machine_id); if (r == 0) { log_debug("%s is is not a mount point. Nothing to do.", etc_machine_id); return 0; diff --git a/src/core/main.c b/src/core/main.c index 87d54caac..688ca0ea2 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1112,7 +1112,7 @@ static void test_usr(void) { static int initialize_join_controllers(void) { /* By default, mount "cpu" + "cpuacct" together, and "net_cls" * + "net_prio". We'd like to add "cpuset" to the mix, but - * "cpuset" does't really work for groups with no initialized + * "cpuset" doesn't really work for groups with no initialized * attributes. */ arg_join_controllers = new(char**, 3); diff --git a/src/core/shutdown.c b/src/core/shutdown.c index def20f502..6492b1977 100644 --- a/src/core/shutdown.c +++ b/src/core/shutdown.c @@ -144,7 +144,7 @@ static int switch_root_initramfs(void) { if (mount(NULL, "/run/initramfs", NULL, MS_PRIVATE, NULL) < 0) return log_error_errno(errno, "Failed to make /run/initramfs private mount: %m"); - /* switch_root with MS_BIND, because there might still be processes lurking around, which have open file desriptors. + /* switch_root with MS_BIND, because there might still be processes lurking around, which have open file descriptors. * /run/initramfs/shutdown will take care of these. * Also do not detach the old root, because /run/initramfs/shutdown needs to access it. */ diff --git a/src/core/unit.c b/src/core/unit.c index a2f37282d..9f7ba9227 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -609,7 +609,7 @@ static int reserve_dependencies(Unit *u, Unit *other, UnitDependency d) { /* * If u does not have this dependency set allocated, there is no need - * to reserve anything. In that case other's set will be transfered + * to reserve anything. In that case other's set will be transferred * as a whole to u by complete_move(). */ if (!u->dependencies[d]) diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index b2f6966fc..7b67bc1da 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1691,7 +1691,7 @@ static int flush_to_var(void) { break; if (errno != ENOENT) - return log_error_errno(errno, "Failed to check for existance of /run/systemd/journal/flushed: %m"); + return log_error_errno(errno, "Failed to check for existence of /run/systemd/journal/flushed: %m"); r = fd_wait_for_event(watch_fd, POLLIN, USEC_INFINITY); if (r < 0) diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c index 69742fa59..20936f4be 100644 --- a/src/journal/journald-audit.c +++ b/src/journal/journald-audit.c @@ -206,7 +206,7 @@ static int map_generic_field(const char *prefix, const char **p, struct iovec ** return r; } -/* Kernel fields are those occuring in the audit string before +/* Kernel fields are those occurring in the audit string before * msg='. All of these fields are trusted, hence carry the "_" prefix. * We try to translate the fields we know into our native names. The * other's are generically mapped to _AUDIT_FIELD_XYZ= */ @@ -240,7 +240,7 @@ static const MapField map_fields_kernel[] = { {} }; -/* Userspace fields are thos occuring in the audit string after +/* Userspace fields are those occurring in the audit string after * msg='. All of these fields are untrusted, hence carry no "_" * prefix. We map the fields we don't know to AUDIT_FIELD_XYZ= */ static const MapField map_fields_userspace[] = { diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index 9b007bf3c..c8a724f27 100644 --- a/src/libsystemd-network/sd-dhcp-client.c +++ b/src/libsystemd-network/sd-dhcp-client.c @@ -500,7 +500,7 @@ static int client_message_init(sd_dhcp_client *client, DHCPPacket **ret, Note (from ConnMan): Some DHCP servers will send bigger DHCP packets than the defined default size unless the Maximum Messge Size option - is explicitely set + is explicitly set RFC3442 "Requirements to Avoid Sizing Constraints": Because a full routing table can be quite large, the standard 576 diff --git a/src/libsystemd-network/test-pppoe.c b/src/libsystemd-network/test-pppoe.c index 0d419aa17..dff83eaf6 100644 --- a/src/libsystemd-network/test-pppoe.c +++ b/src/libsystemd-network/test-pppoe.c @@ -139,8 +139,8 @@ static int test_pppoe_server(sd_event *e) { "-I", "pppoe-server", "-C", "Test-AC", "-S", "Service-Default", - "-S", "Service-First-Auxillary", - "-S", "Service-Second-Auxillary", + "-S", "Service-First-Auxiliary", + "-S", "Service-Second-Auxiliary", NULL); assert_not_reached("failed to execute pppoe-server. not installed?"); } diff --git a/src/libsystemd-terminal/grdev-drm.c b/src/libsystemd-terminal/grdev-drm.c index 2df63537f..bc4d4c9e7 100644 --- a/src/libsystemd-terminal/grdev-drm.c +++ b/src/libsystemd-terminal/grdev-drm.c @@ -2060,7 +2060,7 @@ static void grdrm_card_configure(grdrm_card *card) { * headache to configure on dynamic demands. Therefore, we only * support it if configured statically beforehand. * - * * CRTCs are not created equal. Some might be much more poweful + * * CRTCs are not created equal. Some might be much more powerful * than others, including more advanced plane support. So far, our * CRTC selection is random. You need to supply static * configuration if you want special setups. So far, there is no diff --git a/src/libsystemd-terminal/grdev.c b/src/libsystemd-terminal/grdev.c index db87ede76..3b3cf2737 100644 --- a/src/libsystemd-terminal/grdev.c +++ b/src/libsystemd-terminal/grdev.c @@ -708,7 +708,7 @@ void grdev_pipe_ready(grdev_pipe *pipe, bool running) { /* grdev_pipe_ready() is used by backends to notify about pipe state * changed. If a pipe is ready, it can be fully used by us (available, - * enabled and accessable). Backends can disable pipes at any time + * enabled and accessible). Backends can disable pipes at any time * (like for async revocation), but can only enable them from parent * context. Otherwise, we might call user-callbacks recursively. */ diff --git a/src/libsystemd-terminal/unifont-def.h b/src/libsystemd-terminal/unifont-def.h index 2b0b859eb..3847a2cf6 100644 --- a/src/libsystemd-terminal/unifont-def.h +++ b/src/libsystemd-terminal/unifont-def.h @@ -94,7 +94,7 @@ typedef struct unifont_glyph_header unifont_glyph_header; * +-----------------------------------+ * * * The first byte specifies the width of the glyph. If it is 0, the glyph - * must be treated as non-existant. + * must be treated as non-existent. * All glyphs are "8*n" pixels wide and "16" pixels high. The width-field * specifies the width multiplier "n". * * After the width field padding might be added. This depends on the global diff --git a/src/libsystemd-terminal/unifont-glyph-array.bin b/src/libsystemd-terminal/unifont-glyph-array.bin index 46f150c42be00db2250c1fee3946b5686d7e35ae..4802a6938a71ac46c4a1a5547a5bbe462723c780 100644 GIT binary patch delta 153 zcmWN=$qj-)0EW?wpr|M+?mH?=7t})!&S4IJVjFX?1QX8FncqvEciwn984VOE)=(oQ z8f&8IFMS8oeQZcM`v(S+ BLg4@a delta 153 zcmWN=$qj-)0EW?wpr|M+?mH?=7ZgMb&S4IJVjFX?1QX8FncqvEciwn984VOE)=(oQ z8f&8IFMS8oeQZcM`v(Vr BLgN4c diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 36eb9f5b3..a089fae04 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -43,7 +43,7 @@ static int message_new_empty(sd_rtnl *rtnl, sd_rtnl_message **ret) { assert_return(ret, -EINVAL); - /* Note that 'rtnl' is curretly unused, if we start using it internally + /* Note that 'rtnl' is currently unused, if we start using it internally we must take care to avoid problems due to mutual references between busses and their queued messages. See sd-bus. */ diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index cf5b6189c..21756f566 100644 --- a/src/resolve/resolved-dns-packet.c +++ b/src/resolve/resolved-dns-packet.c @@ -934,7 +934,7 @@ int dns_packet_read_name(DnsPacket *p, char **_ret, if (after_rindex == 0) after_rindex = p->rindex; - /* Jumps are limited to a "prior occurence" (RFC-1035 4.1.4) */ + /* Jumps are limited to a "prior occurrence" (RFC-1035 4.1.4) */ jump_barrier = ptr; p->rindex = ptr; } else { diff --git a/src/shared/hashmap.c b/src/shared/hashmap.c index f2a8a77ea..e63ba4bb5 100644 --- a/src/shared/hashmap.c +++ b/src/shared/hashmap.c @@ -1066,7 +1066,7 @@ static int hashmap_base_put_boldly(HashmapBase *h, unsigned idx, /* * Returns 0 if resize is not needed. - * 1 if succesfully resized. + * 1 if successfully resized. * -ENOMEM on allocation failure. */ static int resize_buckets(HashmapBase *h, unsigned entries_add) { diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h index 4fdbf3ab4..48fd87671 100644 --- a/src/systemd/sd-id128.h +++ b/src/systemd/sd-id128.h @@ -60,7 +60,7 @@ int sd_id128_get_boot(sd_id128_t *ret); /* Note that SD_ID128_FORMAT_VAL will evaluate the passed argument 16 * times. It is hence not a good idea to call this macro with an - * expensive function as paramater or an expression with side + * expensive function as parameter or an expression with side * effects */ #define SD_ID128_FORMAT_STR "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" diff --git a/src/test/test-path.c b/src/test/test-path.c index 18fcb575e..2063ed254 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -81,7 +81,7 @@ static void check_stop_unlink(Manager *m, Unit *unit, const char *test_path, con service = SERVICE(service_unit); ts = now(CLOCK_MONOTONIC); - /* We proces events until the service related to the path has been successfully started */ + /* We process events until the service related to the path has been successfully started */ while(service->result != SERVICE_SUCCESS || service->state != SERVICE_START) { usec_t n; int r; -- 2.30.2