summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-04 19:33:49 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-04 19:33:49 +0000
commitd00a1a1a03e03a5abcd5a9fcfaa6dbcef8cdc56c (patch)
treeb6801faa93baca5b1db6e403ba7a030d557b5d9f
parent604de560099cb57534a90d4ff451f9ab3f221ee7 (diff)
- (bal) One too many nulls in ports-aix.c
-rw-r--r--ChangeLog3
-rw-r--r--openbsd-compat/port-aix.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d68b5461b..a70207b60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
3 faster data rate) Bug #124 3 faster data rate) Bug #124
4 - (bal) glob.c defines TILDE and AIX also defines it. #undef it first. 4 - (bal) glob.c defines TILDE and AIX also defines it. #undef it first.
5 bug #265 5 bug #265
6 - (bal) One too many nulls in ports-aix.c
6 7
720020703 820020703
8 - (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com 9 - (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com
@@ -1273,4 +1274,4 @@
1273 - (stevesk) entropy.c: typo in debug message 1274 - (stevesk) entropy.c: typo in debug message
1274 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 1275 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
1275 1276
1276$Id: ChangeLog,v 1.2334 2002/07/04 18:20:51 mouring Exp $ 1277$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 02f185955..f022bd440 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -41,8 +41,8 @@ aix_usrinfo(struct passwd *pw)
41 char *cp; 41 char *cp;
42 42
43 cp = xmalloc(16 + 2 * strlen(pw->pw_name)); 43 cp = xmalloc(16 + 2 * strlen(pw->pw_name));
44 i = sprintf(cp, "LOGNAME=%s%cNAME=%s%c%c", pw->pw_name, 0, 44 i = sprintf(cp, "LOGNAME=%s%cNAME=%s%c", pw->pw_name, 0,
45 pw->pw_name, 0, 0); 45 pw->pw_name, 0);
46 if (usrinfo(SETUINFO, cp, i) == -1) 46 if (usrinfo(SETUINFO, cp, i) == -1)
47 fatal("Couldn't set usrinfo: %s", strerror(errno)); 47 fatal("Couldn't set usrinfo: %s", strerror(errno));
48 debug3("AIX/UsrInfo: set len %d", i); 48 debug3("AIX/UsrInfo: set len %d", i);