diff options
author | deraadt <deraadt@openbsd.org> | 2006-03-12 02:45:45 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2006-03-12 02:45:45 +0000 |
commit | 3dff252225899beb927bb0d70132e3cd72f774c9 (patch) | |
tree | 347d5f39423b1342fa8af67018eb924ddfb82d28 /usr.sbin/fdformat | |
parent | remove IPL_IMP and splimp(). (diff) | |
download | wireguard-openbsd-3dff252225899beb927bb0d70132e3cd72f774c9.tar.xz wireguard-openbsd-3dff252225899beb927bb0d70132e3cd72f774c9.zip |
missing close(); dhill@mindcry.org
Diffstat (limited to 'usr.sbin/fdformat')
-rw-r--r-- | usr.sbin/fdformat/fdformat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c index 65548601af3..c1ba5328c85 100644 --- a/usr.sbin/fdformat/fdformat.c +++ b/usr.sbin/fdformat/fdformat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdformat.c,v 1.12 2003/06/26 21:36:39 deraadt Exp $ */ +/* $OpenBSD: fdformat.c,v 1.13 2006/03/12 02:45:45 deraadt Exp $ */ /* * Copyright (C) 1992-1994 by Joerg Wunsch, Dresden @@ -341,6 +341,7 @@ main(int argc, char *argv[]) } } } + close(fd); if (!quiet) printf(" done.\n"); |