diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-12-02 00:51:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-12-02 00:51:41 +0000 |
commit | a6f252377588d467fc6f3720f5c93f5d87e88959 (patch) | |
tree | 4f4353853e12d3e6aaaed193482f37ffaed22f72 /distrib/common | |
parent | 34e65806435c5f1988503f2762be23829447a650 (diff) |
no need to close() before exit()
Diffstat (limited to 'distrib/common')
-rw-r--r-- | distrib/common/elfrdsetroot.c | 3 | ||||
-rw-r--r-- | distrib/common/rdsetroot.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/distrib/common/elfrdsetroot.c b/distrib/common/elfrdsetroot.c index 4ddec06c42c..1d1fbba8940 100644 --- a/distrib/common/elfrdsetroot.c +++ b/distrib/common/elfrdsetroot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elfrdsetroot.c,v 1.15 2008/12/02 00:42:41 weerd Exp $ */ +/* $OpenBSD: elfrdsetroot.c,v 1.16 2008/12/02 00:51:40 deraadt Exp $ */ /* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */ /* @@ -195,7 +195,6 @@ main(int argc, char *argv[]) #ifdef DEBUG fprintf(stderr, "...copied %d bytes\n", n); #endif - close(fd); exit(0); } diff --git a/distrib/common/rdsetroot.c b/distrib/common/rdsetroot.c index bf227841113..8b496056e5d 100644 --- a/distrib/common/rdsetroot.c +++ b/distrib/common/rdsetroot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdsetroot.c,v 1.14 2008/12/02 00:48:19 deraadt Exp $ */ +/* $OpenBSD: rdsetroot.c,v 1.15 2008/12/02 00:51:40 deraadt Exp $ */ /* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */ /* @@ -205,7 +205,6 @@ main(int argc, char *argv[]) #ifdef DEBUG fprintf(stderr, "copied %d bytes\n", n); #endif - close(fd); exit(0); } |