diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-07-26 16:53:59 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-07-26 16:53:59 +0000 |
commit | e92396b89636f3b0c1695a80ab84b210999060c5 (patch) | |
tree | 48280f4a6410e0332e1ff45cf2ddc2ba5785282c | |
parent | 36fdea8bf6448d484950985e7147469562aeb6ad (diff) |
Fix pointer passed to fclose() in cvs_ent_close()
-rw-r--r-- | usr.bin/cvs/entries.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/entries.c b/usr.bin/cvs/entries.c index 40f9db3bdd1..b0e2000e7f6 100644 --- a/usr.bin/cvs/entries.c +++ b/usr.bin/cvs/entries.c @@ -1,4 +1,4 @@ -/* $OpenBSD: entries.c,v 1.5 2004/07/25 03:18:53 jfb Exp $ */ +/* $OpenBSD: entries.c,v 1.6 2004/07/26 16:53:58 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -137,7 +137,7 @@ cvs_ent_close(CVSENTRIES *ep) struct cvs_ent *ent; if (ep->cef_file != NULL) - (void)fclose(ep); + (void)fclose(ep->cef_file); if (ep->cef_path != NULL) free(ep->cef_path); |