summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-04-15 09:26:23 +0000
committermaxim <maxim@FreeBSD.org>2006-04-15 09:26:23 +0000
commitd01f82209eb6b24955711f72870f270aec338861 (patch)
treef5196d7db32f318510d603c03432022ecb363b7b /bin
parent377017519f5fccfe1d8eb51cb6124dfa69d228fa (diff)
downloadFreeBSD-src-d01f82209eb6b24955711f72870f270aec338861.zip
FreeBSD-src-d01f82209eb6b24955711f72870f270aec338861.tar.gz
o Be pedantic and do fts_close() when done.
PR: bin/95292 Submitted by: Charles Hardin Obtained from: NetBSD via OpenBSD, PR
Diffstat (limited to 'bin')
-rw-r--r--bin/rm/rm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c
index b838fef..1ef6f38 100644
--- a/bin/rm/rm.c
+++ b/bin/rm/rm.c
@@ -307,6 +307,7 @@ err:
}
if (errno)
err(1, "fts_read");
+ fts_close(fts);
}
void
OpenPOWER on IntegriCloud