]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pam_systemd: Fix some option names in error messages
authorPhilip Withnall <withnall@endlessm.com>
Wed, 12 Jun 2019 08:43:47 +0000 (09:43 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Wed, 12 Jun 2019 09:39:50 +0000 (10:39 +0100)
Signed-off-by: Philip Withnall <withnall@endlessm.com>
src/login/pam_systemd.c

index a26895e695ea887be9090a2710576690ac5b4b04..cd070329f4c409a6ac6fec2353005b2b379f068c 100644 (file)
@@ -271,7 +271,7 @@ static int append_session_memory_max(pam_handle_t *handle, sd_bus_message *m, co
                                         return r;
                                 }
                         } else
-                                pam_syslog(handle, LOG_WARNING, "Failed to parse systemd.limit: %s, ignoring.", limit);
+                                pam_syslog(handle, LOG_WARNING, "Failed to parse systemd.memory_max: %s, ignoring.", limit);
                 }
         }
 
@@ -294,7 +294,7 @@ static int append_session_tasks_max(pam_handle_t *handle, sd_bus_message *m, con
                         return r;
                 }
         } else
-                pam_syslog(handle, LOG_WARNING, "Failed to parse systemd.limit: %s, ignoring.", limit);
+                pam_syslog(handle, LOG_WARNING, "Failed to parse systemd.tasks_max: %s, ignoring.", limit);
 
         return 0;
 }