summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r--openbsd-compat/port-aix.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 2895f0d44..5ba6819de 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -133,12 +133,12 @@ sys_auth_passwd(Authctxt *ctxt, const char *password)
133 /* 133 /*
134 * Check if the user's password is expired. 134 * Check if the user's password is expired.
135 */ 135 */
136 expired = passwdexpired(name, &msg); 136 expired = passwdexpired(name, &msg);
137 if (msg && *msg) { 137 if (msg && *msg) {
138 buffer_append(&loginmsg, msg, strlen(msg)); 138 buffer_append(&loginmsg, msg, strlen(msg));
139 aix_remove_embedded_newlines(msg); 139 aix_remove_embedded_newlines(msg);
140 } 140 }
141 debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg); 141 debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg);
142 142
143 switch (expired) { 143 switch (expired) {
144 case 0: /* password not expired */ 144 case 0: /* password not expired */