chiark / gitweb /
core, libsystemd, systemd, timedate, udev: spelling fixes
authorMiklos Vajna <vmiklos@vmiklos.hu>
Fri, 14 Mar 2014 20:13:38 +0000 (21:13 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Mar 2014 06:35:35 +0000 (02:35 -0400)
src/core/service.c
src/core/unit.c
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/sd-bus.c
src/systemd/sd-resolve.h
src/timedate/timedated.c
src/udev/udevadm-settle.c

index 41b95ab0f3e6d036855344e867179f3da64031a6..386692a10aaa81c3a9bc3e837b04e9a4768c911a 100644 (file)
@@ -3416,7 +3416,7 @@ static void service_notify_message(Unit *u, pid_t pid, char **tags) {
                         free(t);
         }
 
-        /* Interpet WATCHDOG= */
+        /* Interpret WATCHDOG= */
         if (strv_find(tags, "WATCHDOG=1")) {
                 log_debug_unit(u->id, "%s: got WATCHDOG=1", u->id);
                 service_reset_watchdog(s);
index 5c98843549c9d991e4c0ca554379abf362432153..4fb0d9caaa845fb32e36157f4f94735e61ba89fb 100644 (file)
@@ -1537,7 +1537,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
                 unit_destroy_cgroup(u);
 
         /* Note that this doesn't apply to RemainAfterExit services exiting
-         * sucessfully, since there's no change of state in that case. Which is
+         * successfully, since there's no change of state in that case. Which is
          * why it is handled in service_set_state() */
         if (UNIT_IS_INACTIVE_OR_FAILED(os) != UNIT_IS_INACTIVE_OR_FAILED(ns)) {
                 ExecContext *ec;
index b9d7f6dbfd2961fd1e83548b74d1717581413c85..e32f2b827fa074fdb27a8d422ad1472ce3d856fa 100644 (file)
@@ -4215,7 +4215,7 @@ static int message_read_ap(
          * in a single stackframe. We hence implement our own
          * home-grown stack in an array. */
 
-        n_array = (unsigned) -1; /* lenght of current array entries */
+        n_array = (unsigned) -1; /* length of current array entries */
         n_struct = strlen(types); /* length of current struct contents signature */
 
         for (;;) {
index 8e44e502f70c0437614500fca0b934c8cfd88ffc..ba8a8a244a292b73366c1436b6d5b714db4a286e 100644 (file)
@@ -1447,7 +1447,7 @@ static int bus_seal_message(sd_bus *b, sd_bus_message *m, usec_t timeout) {
 static int bus_remarshal_message(sd_bus *b, sd_bus_message **m) {
         assert(b);
 
-        /* Do packet version and endianess already match? */
+        /* Do packet version and endianness already match? */
         if ((b->message_version == 0 || b->message_version == (*m)->header->version) &&
             (b->message_endian == 0 || b->message_endian == (*m)->header->endian))
                 return 0;
@@ -1464,7 +1464,7 @@ int bus_seal_synthetic_message(sd_bus *b, sd_bus_message *m) {
          * hence let's fill something in for synthetic messages. Since
          * synthetic messages might have a fake sender and we don't
          * want to interfere with the real sender's serial numbers we
-         * pick a fixed, artifical one. We use (uint32_t) -1 rather
+         * pick a fixed, artificial one. We use (uint32_t) -1 rather
          * than (uint64_t) -1 since dbus1 only had 32bit identifiers,
          * even though kdbus can do 64bit. */
 
index df69e4b809110e37fbf2f7ea2731dc57e1f4e291..3c1d4823742da61e8b51ad15f111668cba27a1ae 100644 (file)
@@ -129,7 +129,7 @@ int sd_resolve_get_next(sd_resolve *resolve, sd_resolve_query **q);
 int sd_resolve_get_n_queries(sd_resolve *resolve);
 
 /** Cancel a currently running query. q is is destroyed by this call
- * and may not be used any futher. */
+ * and may not be used any further. */
 int sd_resolve_cancel(sd_resolve_query* q);
 
 /** Returns non-zero when the query operation specified by q has been completed */
index d85ce57394468347028cdadcca9b5577246a29e7..c4a797acc97e4360ff36a512cf4765baa54fc6cf 100644 (file)
@@ -468,7 +468,7 @@ static int property_get_rtc_time(
         zero(tm);
         r = hwclock_get_time(&tm);
         if (r == -EBUSY) {
-                log_warning("/dev/rtc is busy, is somebody keeping it open continously? That's not a good idea... Returning a bogus RTC timestamp.");
+                log_warning("/dev/rtc is busy, is somebody keeping it open continuously? That's not a good idea... Returning a bogus RTC timestamp.");
                 t = 0;
         } else if (r == -ENOENT) {
                 log_debug("Not /dev/rtc found.");
index b026155660e67751115b11e90687469d70d93351..927ea2a7f2e37ba5dc6e8b841c4429f68d1b2c6d 100644 (file)
@@ -100,7 +100,7 @@ static int adm_settle(struct udev *udev, int argc, char *argv[])
                 case '?':
                         exit(EXIT_FAILURE);
                 default:
-                        assert_not_reached("Unkown argument");
+                        assert_not_reached("Unknown argument");
                 }
 
         if (optind < argc) {