summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authordtucker <dtucker>2005-05-29 00:32:47 +0000
committerdtucker <dtucker>2005-05-29 00:32:47 +0000
commit48cd9868a09dc78b7f82c348fe782d12c86b831a (patch)
tree2a0e0c93a01653e2c8a079f724c3e44382e3d46e /openbsd-compat
parent2a224c498f82ea2e22a73e2d0dc0ae2e0d33e6b9 (diff)
downloadopenssh-48cd9868a09dc78b7f82c348fe782d12c86b831a.tar.gz
- (dtucker) [openbsd-compat/port-aix.c] Whitespace cleanups while there.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-aix.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index c711283d..8267c8ef 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -42,14 +42,12 @@ static char old_registry[REGISTRY_SIZE] = "";
# endif
/*
- * AIX has a "usrinfo" area where logname and other stuff is stored -
+ * AIX has a "usrinfo" area where logname and other stuff is stored -
* a few applications actually use this and die if it's not set
*
* NOTE: TTY= should be set, but since no one uses it and it's hard to
* acquire due to privsep code. We will just drop support.
*/
-
-
void
aix_usrinfo(struct passwd *pw)
{
@@ -60,7 +58,7 @@ aix_usrinfo(struct passwd *pw)
len = sizeof("LOGNAME= NAME= ") + (2 * strlen(pw->pw_name));
cp = xmalloc(len);
- i = snprintf(cp, len, "LOGNAME=%s%cNAME=%s%c", pw->pw_name, '\0',
+ i = snprintf(cp, len, "LOGNAME=%s%cNAME=%s%c", pw->pw_name, '\0',
pw->pw_name, '\0');
if (usrinfo(SETUINFO, cp, i) == -1)
fatal("Couldn't set usrinfo: %s", strerror(errno));
@@ -170,7 +168,7 @@ sys_auth_passwd(Authctxt *ctxt, const char *password)
if (result == 0) {
authsuccess = 1;
- /*
+ /*
* Record successful login. We don't have a pty yet, so just
* label the line as "ssh"
*/