summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-08-02 09:44:25 +1000
committerDarren Tucker <dtucker@zip.com.au>2016-08-02 09:44:25 +1000
commitc20dccb5614c5714f4155dda01bcdebf97cfae7e (patch)
tree52a7fb54f19aae274f12f1c9db7eaeb1922137aa /openbsd-compat/port-aix.c
parent30f9bd1c0963c23bfba8468dfd26aa17609ba42f (diff)
Strip trailing whitespace.
Mechanically strip trailing whitespace on files not synced with OpenBSD (or in the case of bsd-snprint.c, rsync).
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r--openbsd-compat/port-aix.c6
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, &registry, SEC_CHAR) == 0) { 341 if (getuserattr((char *)user, S_REGISTRY, &registry, 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