From f42878effe8d656887ccbf74344fd3fb5c38fc70 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 13 Nov 2005 20:27:11 +0000 Subject: missing fclose(); from dhill@mindcry.org --- sbin/disklabel/disklabel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/disklabel') 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 @@ -297,6 +297,7 @@ main(int argc, char *argv[]) error = writelabel(f, bootarea, lp); else error = 1; + fclose(t); break; case SETWRITEABLE: if (!donothing) { -- cgit v1.2.3