summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/skeyaudit/skeyaudit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/skeyaudit/skeyaudit.c b/usr.bin/skeyaudit/skeyaudit.c
index 3fa9e602712..7a94c3252f4 100644
--- a/usr.bin/skeyaudit/skeyaudit.c
+++ b/usr.bin/skeyaudit/skeyaudit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyaudit.c,v 1.15 2003/03/14 04:29:04 millert Exp $ */
+/* $OpenBSD: skeyaudit.c,v 1.16 2003/04/28 20:58:35 millert Exp $ */
/*
* Copyright (c) 1997, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -96,8 +96,6 @@ main(int argc, char **argv)
}
if (ch == -1)
errx(-1, "cannot open %s", _PATH_SKEYDIR);
- else
- (void)fclose(key.keyfile);
} else {
if ((pw = getpwuid(getuid())) == NULL)
errx(1, "no passwd entry for uid %u", getuid());