summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2014-08-30 17:13:16 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-30 13:46:07 -0400
commit06b643e7f5a3b79005dd57497897ab7255fe3659 (patch)
tree59905256b5b2b103caca2ef8bfc0e4d6df9aaf7c /src
parentb12942e67ecbea0b852d4ab8df1d34b04e9853f8 (diff)
Fix a few more typos
Diffstat (limited to 'src')
-rw-r--r--src/core/unit.c2
-rw-r--r--src/journal/test-compress-benchmark.c2
-rw-r--r--src/libsystemd-network/sd-icmp6-nd.c2
-rw-r--r--src/libsystemd-terminal/term-page.c4
-rw-r--r--src/libsystemd-terminal/term-screen.c4
-rw-r--r--src/libsystemd-terminal/test-term-page.c2
-rw-r--r--src/libsystemd/sd-bus/kdbus.h2
-rw-r--r--src/shared/architecture.h2
8 files changed, 10 insertions, 10 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 56102b360..b5c318294 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -3425,7 +3425,7 @@ int unit_setup_exec_runtime(Unit *u) {
offset = UNIT_VTABLE(u)->exec_runtime_offset;
assert(offset > 0);
- /* Check if ther already is an ExecRuntime for this unit? */
+ /* Check if there already is an ExecRuntime for this unit? */
rt = (ExecRuntime**) ((uint8_t*) u + offset);
if (*rt)
return 0;
diff --git a/src/journal/test-compress-benchmark.c b/src/journal/test-compress-benchmark.c
index 8975e29b1..b3bc3ec2f 100644
--- a/src/journal/test-compress-benchmark.c
+++ b/src/journal/test-compress-benchmark.c
@@ -61,7 +61,7 @@ static void test_compress_decompress(const char* label,
int r;
r = compress(text, i, buf, &j);
- /* assume compresion must be succesful except for small inputs */
+ /* assume compression must be successful except for small inputs */
assert(r == 0 || (i < 2048 && r == -ENOBUFS));
/* check for overwrites */
assert(buf[i] == 0);
diff --git a/src/libsystemd-network/sd-icmp6-nd.c b/src/libsystemd-network/sd-icmp6-nd.c
index 243f06a85..bbb4531dd 100644
--- a/src/libsystemd-network/sd-icmp6-nd.c
+++ b/src/libsystemd-network/sd-icmp6-nd.c
@@ -212,7 +212,7 @@ static int icmp6_router_advertisment_recv(sd_event_source *s, int fd,
if (ra.nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)
event = ICMP6_EVENT_ROUTER_ADVERTISMENT_MANAGED;
- log_icmp6_nd(nd, "Received Router Advertisment flags %s/%s",
+ log_icmp6_nd(nd, "Received Router Advertisement flags %s/%s",
(ra.nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)? "MANAGED":
"none",
(ra.nd_ra_flags_reserved & ND_RA_FLAG_OTHER)? "OTHER":
diff --git a/src/libsystemd-terminal/term-page.c b/src/libsystemd-terminal/term-page.c
index 7ae90e2cd..ae73cdf62 100644
--- a/src/libsystemd-terminal/term-page.c
+++ b/src/libsystemd-terminal/term-page.c
@@ -42,7 +42,7 @@
* support Unicode combining-characters, therefore this gets more complicated.
* Characters themselves are represented by a "term_char_t" object. It
* should be treated as a normal integer and passed by value. The
- * sorrounding struct is just to hide the internals. A term-char can contain a
+ * surrounding struct is just to hide the internals. A term-char can contain a
* base character together with up to 2 combining-chars in a single integer.
* Only if you need more combining-chars (very unlikely!) a term-char is a
* pointer to an allocated storage. This requires you to always free term-char
@@ -1012,7 +1012,7 @@ void term_line_append_combchar(term_line *line, unsigned int pos_x, uint32_t ucs
* @age: current age for all modifications
* @keep_protected: true if protected cells should be kept
*
- * This is the standard erase operation. It clears all cells in the targetted
+ * This is the standard erase operation. It clears all cells in the targeted
* area and re-initializes them. Cells to the right are not shifted left, you
* must use DELETE to achieve that. Cells outside the visible area are skipped.
*
diff --git a/src/libsystemd-terminal/term-screen.c b/src/libsystemd-terminal/term-screen.c
index a19c684d2..67f9056d5 100644
--- a/src/libsystemd-terminal/term-screen.c
+++ b/src/libsystemd-terminal/term-screen.c
@@ -455,7 +455,7 @@ static uint32_t screen_map(term_screen *screen, uint32_t val) {
/*
* Command Handlers
- * This is the inofficial documentation of all the TERM_CMD_* definitions. Each
+ * This is the unofficial documentation of all the TERM_CMD_* definitions. Each
* handled command has a separate function with an extensive comment on the
* semantics of the command.
* Note that many semantics are unknown and need to be verified. This is mostly
@@ -1040,7 +1040,7 @@ static int screen_DECELR(term_screen *screen, const term_seq *seq) {
/*
* DECELR - enable-locator-reporting
* This changes the locator-reporting mode. @args[0] specifies the mode
- * to set, 0 disables locator-reporting, 1 enables it continously, 2
+ * to set, 0 disables locator-reporting, 1 enables it continuously, 2
* enables it for a single report. @args[1] specifies the
* precision-mode. 0 and 2 set the reporting to cell-precision, 1 sets
* pixel-precision.
diff --git a/src/libsystemd-terminal/test-term-page.c b/src/libsystemd-terminal/test-term-page.c
index bba83ee40..9e338776e 100644
--- a/src/libsystemd-terminal/test-term-page.c
+++ b/src/libsystemd-terminal/test-term-page.c
@@ -263,7 +263,7 @@ static void test_term_char_allocating(void) {
* in the range 'A'-'Z', 'a'-'z'. All those are combined and used as term_char_t
* on this cell. Any numbers in the description are combined and are used as
* cell-age.
- * The occurance of a '*'-symbol marks the cell as bold, '/' marks it as italic.
+ * The occurrence of a '*'-symbol marks the cell as bold, '/' marks it as italic.
* You can use those characters multiple times, but only the first one has an
* effect.
* For further symbols, see parse_attr().
diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/sd-bus/kdbus.h
index 3751f9ca2..65f76e9cf 100644
--- a/src/libsystemd/sd-bus/kdbus.h
+++ b/src/libsystemd/sd-bus/kdbus.h
@@ -486,7 +486,7 @@ enum kdbus_policy_type {
* policy entries for a name. The provided name
* is not activated and not registered with the
* name database, it only allows unprivileged
- * connections to aquire a name, talk or discover
+ * connections to acquire a name, talk or discover
* a service
* @KDBUS_HELLO_MONITOR: Special-purpose connection to monitor
* bus traffic
diff --git a/src/shared/architecture.h b/src/shared/architecture.h
index 71c79b154..353d49bed 100644
--- a/src/shared/architecture.h
+++ b/src/shared/architecture.h
@@ -28,7 +28,7 @@
/* A cleaned up architecture definition. We don't want to get lost in
* processor features, models, generations or even ABIs. Hence we
* focus on general family, and distuignish word width and
- * endianess. */
+ * endianness. */
typedef enum Architecture {
ARCHITECTURE_X86 = 0,