ldap/servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 22fd3c28ca62d080b42f25f4d7c0fb711c1a011c Author: Noriko Hosoi nhosoi@redhat.com Date: Mon Mar 3 16:07:21 2014 -0800
Ticket #47725 - compiler error on daemon.c
Description: This syntax is invalid for Solaris Studio Compiler: while((0 = getmntent(fp, &mnt))){ Applied the patch provided by cgrzemba (Thanks!!)
https://fedorahosted.org/389/ticket/47725
Reviewed by nhosoi@redhat.com.
diff --git a/ldap/servers/slapd/daemon.c b/ldap/servers/slapd/daemon.c index 7594d53..b0cdcc1 100644 --- a/ldap/servers/slapd/daemon.c +++ b/ldap/servers/slapd/daemon.c @@ -498,7 +498,7 @@ disk_mon_get_mount_point(char *dir)
dev_id = s.st_dev;
- while((0 = getmntent(fp, &mnt))){ + while((0 == getmntent(fp, &mnt))){ if (stat(mnt.mnt_mountp, &s) != 0) { continue; }
389-commits@lists.fedoraproject.org