After the fork(), the parent does a close(fd); on an fd which is long-since closed (prior to the while loop). Just remove it. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> --- fsr/xfs_fsr.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c index 5eaabb5..3d017ca 100644 --- a/fsr/xfs_fsr.c +++ b/fsr/xfs_fsr.c @@ -627,7 +627,6 @@ fsrallfs(char *mtab, int howlong, char *leftofffile) break; default: wait(&error); - close(fd); if (WIFEXITED(error) && WEXITSTATUS(error) == 1) { /* child timed out & did fsrall_cleanup */ exit(0); -- 1.7.1 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs