From d00a1a1a03e03a5abcd5a9fcfaa6dbcef8cdc56c Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 4 Jul 2002 19:33:49 +0000 Subject: - (bal) One too many nulls in ports-aix.c --- openbsd-compat/port-aix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsd-compat/port-aix.c') diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index 02f18595..f022bd44 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c @@ -41,8 +41,8 @@ aix_usrinfo(struct passwd *pw) char *cp; cp = xmalloc(16 + 2 * strlen(pw->pw_name)); - i = sprintf(cp, "LOGNAME=%s%cNAME=%s%c%c", pw->pw_name, 0, - pw->pw_name, 0, 0); + i = sprintf(cp, "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)); debug3("AIX/UsrInfo: set len %d", i); -- cgit v1.2.1