]> andersk Git - openssh.git/commitdiff
- (bal) One too many nulls in ports-aix.c
authormouring <mouring>
Thu, 4 Jul 2002 19:33:49 +0000 (19:33 +0000)
committermouring <mouring>
Thu, 4 Jul 2002 19:33:49 +0000 (19:33 +0000)
ChangeLog
openbsd-compat/port-aix.c

index 4ef2eb79f58f9eab8433e8ca5ae7dd466f863f3d..bcf6137f59fb90b90cd590f9c359d0a399b66d4a 100644 (file)
--- 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 
index 02f185955ffad56ae6ad5991dbc383327fa939ac..f022bd440b03612ec84c0b486b3ec26b582e98eb 100644 (file)
@@ -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);
This page took 0.210259 seconds and 5 git commands to generate.