summaryrefslogtreecommitdiffstats
path: root/ldap/systools
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-03-05 04:29:24 +0000
committerRich Megginson <rmeggins@redhat.com>2005-03-05 04:29:24 +0000
commitb352660e243c7b9b7d050f1c38cff1c9faf278b1 (patch)
treeede08019beb931c3206609ab2377a015d510bdb4 /ldap/systools
parentf08951680ddfebc3f3df07e720ad0650fe473c0f (diff)
downloadds-b352660e243c7b9b7d050f1c38cff1c9faf278b1.tar.gz
ds-b352660e243c7b9b7d050f1c38cff1c9faf278b1.tar.xz
ds-b352660e243c7b9b7d050f1c38cff1c9faf278b1.zip
clean up sprintf usage and many other flawfinder issues; clean up compiler warnings on Linux; remove pam_passthru from DS 7.1
Diffstat (limited to 'ldap/systools')
-rw-r--r--ldap/systools/idsktune.c1
-rw-r--r--ldap/systools/pio.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/ldap/systools/idsktune.c b/ldap/systools/idsktune.c
index 65123600..cac3d5fe 100644
--- a/ldap/systools/idsktune.c
+++ b/ldap/systools/idsktune.c
@@ -80,6 +80,7 @@ extern char *optarg;
#include <sys/time.h>
#include <sys/param.h>
#include <mntent.h>
+#include <sys/sysinfo.h>
#define IDDS_MNTENT mntent
#define IDDS_MNTENT_DIRNAME mnt_dir
diff --git a/ldap/systools/pio.c b/ldap/systools/pio.c
index 527570eb..bb90750a 100644
--- a/ldap/systools/pio.c
+++ b/ldap/systools/pio.c
@@ -69,7 +69,6 @@ int iii_pio_getnum (
{
FILE *fp;
char buf[8192];
- int rc = 0;
fp = popen(cmd,"r");