]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/home/homework.c
Merge pull request #15278 from vcaputo/more-trivial-cleanups
[thirdparty/systemd.git] / src / home / homework.c
index 58fa0870973da2489b3fb5e22b66b97b612fd0aa..3fccab095c588244c862bd7d67a3f123af065ee1 100644 (file)
@@ -378,7 +378,7 @@ int home_load_embedded_identity(
                 return r;
 
         if (!user_record_compatible(h, embedded_home))
-                return log_error_errno(SYNTHETIC_ERRNO(EREMCHG), "Hmbedded home record not compatible with host record, refusing.");
+                return log_error_errno(SYNTHETIC_ERRNO(EREMCHG), "Embedded home record not compatible with host record, refusing.");
 
         /* Insist that credentials the user supplies also unlocks any embedded records. */
         r = user_record_authenticate(embedded_home, h, pkcs11_decrypted_passwords);
@@ -981,7 +981,7 @@ static int home_remove(UserRecord *h) {
 
                 if (stat(ip, &st) < 0) {
                         if (errno != -ENOENT)
-                                return log_error_errno(errno, "Failed to stat %s: %m", ip);
+                                return log_error_errno(errno, "Failed to stat() %s: %m", ip);
 
                 } else {
                         if (S_ISREG(st.st_mode)) {