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 [email protected].
@@ -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;
}