- (bal) One too many nulls in ports-aix.c
diff --git a/ChangeLog b/ChangeLog
index d68b546..a70207b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
faster data rate) Bug #124
- (bal) glob.c defines TILDE and AIX also defines it. #undef it first.
bug #265
+ - (bal) One too many nulls in ports-aix.c
20020703
- (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com
@@ -1273,4 +1274,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
-$Id: ChangeLog,v 1.2334 2002/07/04 18:20:51 mouring Exp $
+$Id: ChangeLog,v 1.2335 2002/07/04 19:33:49 mouring Exp $
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 02f1859..f022bd4 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -41,8 +41,8 @@
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);