1. [usr/src/usr.sbin/edquota/edquota.c:558]: (error) Resource leak: fd while (fgets(line1, sizeof (line1), fd) != NULL && fgets(line2, sizeof (line2), fd) != NULL) { if ((fsp = strtok(line1, " \t:")) == NULL) { warnx("%s: bad format", line1); return (0); } More of the same in the while loop. 2. [usr/src/usr.sbin/edquota/edquota.c:736]: (error) Resource leak: fd while (fgets(line1, sizeof (line1), fd) != NULL) { if ((fsp = strtok(line1, " \t:")) == NULL) { warnx("%s: bad format", line1); return (0); } Similar code to the above case.