char *FUNC = "Hclose"; if (file_rec->attach > 0) { file_rec->refcount++; HERROR(DFE_OPENAID); HEreport("There are still %d active aids attached", file_rec->attach); return FAIL; }