diff options
Diffstat (limited to 'src/home')
-rw-r--r-- | src/home/homectl.c | 2 | ||||
-rw-r--r-- | src/home/homed-home.c | 6 | ||||
-rw-r--r-- | src/home/homed-manager-bus.c | 2 | ||||
-rw-r--r-- | src/home/homed-manager.c | 6 | ||||
-rw-r--r-- | src/home/homed-manager.h | 2 | ||||
-rw-r--r-- | src/home/homework.c | 4 | ||||
-rw-r--r-- | src/home/user-record-util.c | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c index 91121687c6..6ba8e7fa29 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -2767,7 +2767,7 @@ static int parse_argv(int argc, char *argv[]) { r = json_variant_set_field(&arg_identity_extra, "environment", ne); if (r < 0) - return log_error_errno(r, "Failed to set environent list: %m"); + return log_error_errno(r, "Failed to set environment list: %m"); break; } diff --git a/src/home/homed-home.c b/src/home/homed-home.c index 09afbc70c3..81859efd96 100644 --- a/src/home/homed-home.c +++ b/src/home/homed-home.c @@ -436,9 +436,9 @@ static int convert_worker_errno(Home *h, int e, sd_bus_error *error) { switch (e) { case -EMSGSIZE: - return sd_bus_error_setf(error, BUS_ERROR_BAD_HOME_SIZE, "File systems of this type cannot be shrinked"); + return sd_bus_error_setf(error, BUS_ERROR_BAD_HOME_SIZE, "File systems of this type cannot be shrunk"); case -ETXTBSY: - return sd_bus_error_setf(error, BUS_ERROR_BAD_HOME_SIZE, "File systems of this type can only be shrinked offline"); + return sd_bus_error_setf(error, BUS_ERROR_BAD_HOME_SIZE, "File systems of this type can only be shrunk offline"); case -ERANGE: return sd_bus_error_setf(error, BUS_ERROR_BAD_HOME_SIZE, "File system size too small"); case -ENOLINK: @@ -1748,7 +1748,7 @@ void home_process_notify(Home *h, char **l) { r = safe_atoi(e, &error); if (r < 0) { - log_debug_errno(r, "Failed to parse receieved error number, ignoring: %s", e); + log_debug_errno(r, "Failed to parse received error number, ignoring: %s", e); return; } if (error <= 0) { diff --git a/src/home/homed-manager-bus.c b/src/home/homed-manager-bus.c index 34a7b49452..b239a71887 100644 --- a/src/home/homed-manager-bus.c +++ b/src/home/homed-manager-bus.c @@ -611,7 +611,7 @@ const sd_bus_vtable manager_vtable[] = { SD_BUS_METHOD("GetUserRecordByUID", "u", "sbo", method_get_user_record_by_uid, SD_BUS_VTABLE_UNPRIVILEGED|SD_BUS_VTABLE_SENSITIVE), SD_BUS_METHOD("ListHomes", NULL, "a(susussso)", method_list_homes, SD_BUS_VTABLE_UNPRIVILEGED), - /* The following methods directly execute an operation on a home area, without ref-counting, queing + /* The following methods directly execute an operation on a home area, without ref-counting, queueing * or anything, and are accessible through homectl. */ SD_BUS_METHOD("ActivateHome", "ss", NULL, method_activate_home, SD_BUS_VTABLE_SENSITIVE), SD_BUS_METHOD("DeactivateHome", "s", NULL, method_deactivate_home, 0), diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index c9bfb64e7f..12422bd733 100644 --- a/src/home/homed-manager.c +++ b/src/home/homed-manager.c @@ -367,7 +367,7 @@ static int manager_add_home_by_record( /* If we acquired a record now for a previously unallocated entry, then reset the state. This * makes sure home_get_state() will check for the availability of the image file dynamically - * in order to detect to distuingish HOME_INACTIVE and HOME_ABSENT. */ + * in order to detect to distinguish HOME_INACTIVE and HOME_ABSENT. */ if (h->state == HOME_UNFIXATED) h->state = _HOME_STATE_INVALID; } else { @@ -1042,7 +1042,7 @@ static int on_notify_socket(sd_event_source *s, int fd, uint32_t revents, void * h = hashmap_get(m->homes_by_worker_pid, PID_TO_PTR(sender.pid)); if (!h) { - log_warning("Recieved notify datagram of unknown process, ignoring."); + log_warning("Received notify datagram of unknown process, ignoring."); return 0; } @@ -1656,7 +1656,7 @@ int manager_enqueue_gc(Manager *m, Home *focus) { return 0; } else - m->gc_focus = focus; /* start focussed */ + m->gc_focus = focus; /* start focused */ r = sd_event_add_defer(m->event, &m->deferred_gc_event_source, on_deferred_gc, m); if (r < 0) diff --git a/src/home/homed-manager.h b/src/home/homed-manager.h index 00298a3d2d..6deffb0d26 100644 --- a/src/home/homed-manager.h +++ b/src/home/homed-manager.h @@ -31,7 +31,7 @@ struct Manager { sd_event_source *inotify_event_source; - /* An even source we receieve sd_notify() messages from our worker from */ + /* An event source we receive sd_notify() messages from our worker from */ sd_event_source *notify_socket_event_source; sd_device_monitor *device_monitor; diff --git a/src/home/homework.c b/src/home/homework.c index 3fccab095c..fc9f030392 100644 --- a/src/home/homework.c +++ b/src/home/homework.c @@ -1401,8 +1401,8 @@ static int run(int argc, char *argv[]) { /* Well known return values of these operations, that systemd-homed knows and converts to proper D-Bus errors: * - * EMSGSIZE → file systems of this type cannnot be shrinked - * ETXTBSY → file systems of this type can only be shrinked offline + * EMSGSIZE → file systems of this type cannot be shrunk + * ETXTBSY → file systems of this type can only be shrunk offline * ERANGE → file system size too small * ENOLINK → system does not support selected storage backend * EPROTONOSUPPORT → system does not support selected file system diff --git a/src/home/user-record-util.c b/src/home/user-record-util.c index 34f9d76cb2..c4a0d95081 100644 --- a/src/home/user-record-util.c +++ b/src/home/user-record-util.c @@ -460,7 +460,7 @@ int user_record_test_image_path(UserRecord *h) { if (S_ISBLK(st.st_mode)) { /* For block devices we can't really be sure if the device referenced actually is the * fs we look for or some other file system (think: what does /dev/sdb1 refer - * to?). Hence, let's return USER_TEST_MAYBE as an ambigious return value for these + * to?). Hence, let's return USER_TEST_MAYBE as an ambiguous return value for these * case, except if the device path used is one of the paths that is based on a * filesystem or partition UUID or label, because in those cases we can be sure we * are referring to the right device. */ |