From 0017be9d77448c37e52b710fbf18288f9ee63941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 29 Mar 2022 18:32:07 +0200 Subject: [PATCH] Fix typos in user-util.c and dbus-unit.c --- src/basic/user-util.c | 2 +- src/core/dbus-unit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/user-util.c b/src/basic/user-util.c index 63bef51b0b2..da3b922bc90 100644 --- a/src/basic/user-util.c +++ b/src/basic/user-util.c @@ -247,7 +247,7 @@ int get_user_creds( else if (FLAGS_SET(flags, USER_CREDS_ALLOW_MISSING) && !gid && !home && !shell) { /* If the specified user is a numeric UID and it isn't in the user database, and the caller - * passed USER_CREDS_ALLOW_MISSING and was only interested in the UID, then juts return that + * passed USER_CREDS_ALLOW_MISSING and was only interested in the UID, then just return that * and don't complain. */ if (uid) diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 098ebed8471..9c4e0fee5a0 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -736,7 +736,7 @@ int bus_unit_method_clean(sd_bus_message *message, void *userdata, sd_bus_error r = unit_clean(u, mask); if (r == -EOPNOTSUPP) - return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Unit '%s' does not supporting cleaning.", u->id); + return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Unit '%s' does not support cleaning.", u->id); if (r == -EUNATCH) return sd_bus_error_set(error, BUS_ERROR_NOTHING_TO_CLEAN, "No matching resources found."); if (r == -EBUSY)