]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix typos in user-util.c and dbus-unit.c
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Tue, 29 Mar 2022 16:32:07 +0000 (18:32 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 29 Mar 2022 16:58:37 +0000 (17:58 +0100)
src/basic/user-util.c
src/core/dbus-unit.c

index 63bef51b0b2dc4a2fa4671f13b8aa68f64a36ee5..da3b922bc90c5baa4da43af120f5ee193b2376d9 100644 (file)
@@ -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)
index 098ebed8471dcc1e371272f024c4d2134df0988a..9c4e0fee5a035a49eba13fbb7dd88e9d98d5ebfd 100644 (file)
@@ -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)