From ab06eef8101866dd1337c4759002f7360a9db416 Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Sun, 14 Apr 2013 19:37:54 -0700 Subject: [PATCH] Fix spelling errors using 'codespell' tool --- NEWS | 10 +++++----- man/sd_journal_get_cursor.xml | 2 +- man/systemctl.xml | 2 +- man/systemd-system.conf.xml | 2 +- man/systemd.unit.xml | 2 +- src/core/syscall-list.h | 2 +- src/core/umount.c | 2 +- src/login/logind-dbus.c | 2 +- src/login/logind.c | 2 +- src/shared/strbuf.c | 2 +- src/systemctl/systemctl.c | 4 ++-- src/systemd/sd-bus-protocol.h | 2 +- src/tmpfiles/tmpfiles.c | 2 +- src/udev/udev-rules.c | 2 +- test/udev-test.pl | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-) diff --git a/NEWS b/NEWS index 335c31fe6..9ea3eee77 100644 --- a/NEWS +++ b/NEWS @@ -136,7 +136,7 @@ CHANGES WITH 199: * The udev daemon now sets the default number of worker processes executed in parallel based on the number of available CPUs instead of the amount of available RAM. This is supposed - to provide a more reliable default and limit a too agressive + to provide a more reliable default and limit a too aggressive paralellism for setups with 1000s of devices connected. Contributions from: Auke Kok, Colin Walters, Cristian @@ -592,7 +592,7 @@ CHANGES WITH 196: the underlying file system of a journal file is capable of properly reporting file change notifications, or whether applications that want to reflect journal changes "live" - need to recheck journal files continously in appropriate + need to recheck journal files continuously in appropriate time intervals. * It is now possible to set the "age" field for tmpfiles @@ -925,7 +925,7 @@ CHANGES WITH 190: * There's now a new RPM macro definition for the system preset dir: %_presetdir. - * journald will now warn if it can't foward a message to the + * journald will now warn if it can't forward a message to the syslog daemon because it's socket is full. * timedated will no longer write or process /etc/timezone, @@ -1060,7 +1060,7 @@ CHANGES WITH 188: the maximum number of iterations to run for. It also gained -b, to run in batch mode (accepting no input). - * The suffix ".service" may now be ommited on most systemctl + * The suffix ".service" may now be omitted on most systemctl command lines involving service unit names. * There's a new bus call in logind to lock all sessions, as @@ -1549,7 +1549,7 @@ CHANGES WITH 44: * Show /etc/os-release data in systemd-analyze output - * Many bugfixes for the journal, including endianess fixes and + * Many bugfixes for the journal, including endianness fixes and ensuring that disk space enforcement works * sd-login.h is C++ comptaible again diff --git a/man/sd_journal_get_cursor.xml b/man/sd_journal_get_cursor.xml index 354168bee..1b0e775bb 100644 --- a/man/sd_journal_get_cursor.xml +++ b/man/sd_journal_get_cursor.xml @@ -108,7 +108,7 @@ comparing cursors is not possible. Use this call to verify after an invocation of sd_journal_seek_cursor3 - whether the entry being seeked to was actually found + whether the entry being sought to was actually found in the journal or the next closest entry was used instead. diff --git a/man/systemctl.xml b/man/systemctl.xml index 1bd4af338..a2c3501ec 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -755,7 +755,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service unit name, plus a control group specification in the syntax CONTROLLER:PATH or CONTROLLER. In the latter syntax - (where the path is ommitted) the default unit control group + (where the path is omitted) the default unit control group path is implied. Examples: cpu or cpu:/foo/bar. If a unit is removed from a control group hierarchy all its processes will be moved to the diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index eaa770b4b..d8bfd1279 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -155,7 +155,7 @@ this option is changed, and make sure the new configuration file is included in it. Otherwise the initrd might - mount the controller hierachies in a + mount the controller hierarchies in a different configuration than intended, and the main system cannot remount them anymore. diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 47c50315a..26c16deb9 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -380,7 +380,7 @@ Note: the paths listed above are set at compilation time and differ between distributions. The - "authorative" list is printed by + "authoritative" list is printed by systemd at during start and daemon reconfiguration. diff --git a/src/core/syscall-list.h b/src/core/syscall-list.h index 503838b7f..6bb4d91f9 100644 --- a/src/core/syscall-list.h +++ b/src/core/syscall-list.h @@ -24,7 +24,7 @@ #if defined __x86_64__ && defined __ILP32__ /* The x32 ABI defines all of its syscalls with bit 30 set, which causes - issues when attempting to use syscalls as simple indicies into an array. + issues when attempting to use syscalls as simple indices into an array. Instead, use the syscall id & ~SYSCALL_MASK as the index, and | the internal id with the syscall mask as needed. */ diff --git a/src/core/umount.c b/src/core/umount.c index 8c69e74ca..acfbbe5e0 100644 --- a/src/core/umount.c +++ b/src/core/umount.c @@ -418,7 +418,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed, bool log_e * * Mount points can be stacked. If a mount * point is stacked below / or /usr, we - * cannnot umount or remount it directly, + * cannot umount or remount it directly, * since there is no way to refer to the * underlying mount. There's nothing we can do * about it for the general case, but we can diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 230dd2b4b..4a8ffe5ed 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -66,7 +66,7 @@ " \n" \ " \n" \ " \n" \ - " \n" \ + " \n" \ " \n" \ " \n" \ " \n" \ diff --git a/src/login/logind.c b/src/login/logind.c index c9e492fc4..63422f4c3 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1726,7 +1726,7 @@ int main(int argc, char *argv[]) { /* Always create the directories people can create inotify * watches in. Note that some applications might check for the - * existance of /run/systemd/seats/ to determine whether + * existence of /run/systemd/seats/ to determine whether * logind is available, so please always make sure this check * stays in. */ mkdir_label("/run/systemd/seats", 0755); diff --git a/src/shared/strbuf.c b/src/shared/strbuf.c index e64f1ca07..01a076c2b 100644 --- a/src/shared/strbuf.c +++ b/src/shared/strbuf.c @@ -26,7 +26,7 @@ #include "strbuf.h" /* - * Strbuf stores given strings in a single continous allocated memory + * Strbuf stores given strings in a single continuous allocated memory * area. Identical strings are de-duplicated and return the same offset * as the first string stored. If the tail of a string already exists * in the buffer, the tail is returned. diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 12dce3c00..36567224f 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4494,7 +4494,7 @@ static int systemctl_help(void) { " --fail When queueing a new job, fail if conflicting jobs are\n" " pending\n" " --irreversible Create jobs which cannot be implicitly cancelled\n" - " --show-types When showing sockets, explictly show their type\n" + " --show-types When showing sockets, explicitly show their type\n" " --ignore-dependencies\n" " When queueing a new job, ignore all its dependencies\n" " -i --ignore-inhibitors\n" @@ -4794,7 +4794,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) { continue; } - log_error("Unkown unit type or load state '%s'.", type); + log_error("Unknown unit type or load state '%s'.", type); log_info("Use -t help to see a list of allowed values."); return -EINVAL; } diff --git a/src/systemd/sd-bus-protocol.h b/src/systemd/sd-bus-protocol.h index 7922f6b70..a26d27c31 100644 --- a/src/systemd/sd-bus-protocol.h +++ b/src/systemd/sd-bus-protocol.h @@ -66,7 +66,7 @@ enum { SD_BUS_TYPE_DICT_ENTRY_END = '}', }; -/* Endianess */ +/* Endianness */ enum { _SD_BUS_INVALID_ENDIAN = 0, diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 5d32bd197..fea1ca2fc 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -743,7 +743,7 @@ static int create_item(Item *i) { if (have_effective_cap(CAP_MKNOD) == 0) { /* In a container we lack CAP_MKNOD. We - shouldnt attempt to create the device node in + shouldn't attempt to create the device node in that case to avoid noise, and we don't support virtualized devices in containers anyway. */ diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index d2810a01d..7a4fb7025 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -55,7 +55,7 @@ struct udev_rules { unsigned int token_cur; unsigned int token_max; - /* all key strings are copied and de-duplicated in a single continous string buffer */ + /* all key strings are copied and de-duplicated in a single continuous string buffer */ struct strbuf *strbuf; /* during rule parsing, uid/gid lookup results are cached */ diff --git a/test/udev-test.pl b/test/udev-test.pl index a9f5db03c..23f1b726e 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1518,7 +1518,7 @@ if ($list[0]) { } } -print "$error errors occured\n\n"; +print "$error errors occurred\n\n"; # cleanup system("rm", "-rf", "$udev_dev"); -- 2.30.2