diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-13 20:27:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-13 20:27:11 +0000 |
commit | f42878effe8d656887ccbf74344fd3fb5c38fc70 (patch) | |
tree | 8cea7f30ec8198706138ca766092671dd67eb527 /sbin | |
parent | 53a337862aa60bbdb96bdf3be33e7096bd6fba4a (diff) |
missing fclose(); from dhill@mindcry.org
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/disklabel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index f4098ed3a87..6cf434e4734 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.96 2005/11/12 13:27:59 deraadt Exp $ */ +/* $OpenBSD: disklabel.c,v 1.97 2005/11/13 20:27:10 deraadt Exp $ */ /* * Copyright (c) 1987, 1993 @@ -39,7 +39,7 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -static const char rcsid[] = "$OpenBSD: disklabel.c,v 1.96 2005/11/12 13:27:59 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: disklabel.c,v 1.97 2005/11/13 20:27:10 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -297,6 +297,7 @@ main(int argc, char *argv[]) error = writelabel(f, bootarea, lp); else error = 1; + fclose(t); break; case SETWRITEABLE: if (!donothing) { |