[Fedora-directory-commits] ldapserver/ldap/servers/slapd/tools/ldclt ldapfct.c, 1.6, 1.7 scalab01.c, 1.4, 1.5

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Thu Oct 18 00:08:37 UTC 2007


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25950/ldap/servers/slapd/tools/ldclt

Modified Files:
	ldapfct.c scalab01.c 
Log Message:
Resolves: #188320
Summary: HP-UX: warnings reported by the HP-UX compiler



Index: ldapfct.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/ldapfct.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ldapfct.c	19 Sep 2007 18:08:12 -0000	1.6
+++ ldapfct.c	18 Oct 2007 00:08:35 -0000	1.7
@@ -629,7 +629,7 @@
       if (close ((int)fd) < 0)
       {
 	perror ("ldctx");
-	printf ("ldclt[%d]: T%03d: cannot close(fd=%d), error=%d (%s)\n",
+	printf ("ldclt[%d]: T%03d: cannot close(fd=%ld), error=%d (%s)\n",
 		mctx.pid, tttctx->thrdNum, fd, errno, strerror (errno));
 	return (-1);
       }


Index: scalab01.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/scalab01.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scalab01.c	19 Sep 2007 18:08:12 -0000	1.4
+++ scalab01.c	18 Oct 2007 00:08:35 -0000	1.5
@@ -1019,7 +1019,6 @@
   /*
    * End of thread
    */
-  return (arg);
 }
 
 




More information about the Fedora-directory-commits mailing list