diff options
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index 8da367d48..c2970c4db 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -179,7 +179,7 @@ sys_auth_passwd(Authctxt *ctxt, const char *password) | |||
179 | do { | 179 | do { |
180 | result = authenticate((char *)name, (char *)password, &reenter, | 180 | result = authenticate((char *)name, (char *)password, &reenter, |
181 | &authmsg); | 181 | &authmsg); |
182 | aix_remove_embedded_newlines(authmsg); | 182 | aix_remove_embedded_newlines(authmsg); |
183 | debug3("AIX/authenticate result %d, authmsg %.100s", result, | 183 | debug3("AIX/authenticate result %d, authmsg %.100s", result, |
184 | authmsg); | 184 | authmsg); |
185 | } while (reenter); | 185 | } while (reenter); |
@@ -337,11 +337,11 @@ aix_setauthdb(const char *user) | |||
337 | debug3("%s: Could not open userdb to read", __func__); | 337 | debug3("%s: Could not open userdb to read", __func__); |
338 | return; | 338 | return; |
339 | } | 339 | } |
340 | 340 | ||
341 | if (getuserattr((char *)user, S_REGISTRY, ®istry, SEC_CHAR) == 0) { | 341 | if (getuserattr((char *)user, S_REGISTRY, ®istry, SEC_CHAR) == 0) { |
342 | if (setauthdb(registry, old_registry) == 0) | 342 | if (setauthdb(registry, old_registry) == 0) |
343 | debug3("AIX/setauthdb set registry '%s'", registry); | 343 | debug3("AIX/setauthdb set registry '%s'", registry); |
344 | else | 344 | else |
345 | debug3("AIX/setauthdb set registry '%s' failed: %s", | 345 | debug3("AIX/setauthdb set registry '%s' failed: %s", |
346 | registry, strerror(errno)); | 346 | registry, strerror(errno)); |
347 | } else | 347 | } else |