summaryrefslogtreecommitdiff
path: root/usr.sbin/afs
diff options
context:
space:
mode:
authorzinovik <zinovik@cvs.openbsd.org>2010-06-01 15:44:54 +0000
committerzinovik <zinovik@cvs.openbsd.org>2010-06-01 15:44:54 +0000
commitfdc0afec05f06bcbcb993907421d9070c9987324 (patch)
treee3fcfafa65a0734feb2bb998d5e9cdb8181e1713 /usr.sbin/afs
parent601a8f7fc032bd3c0e5c879f26f26bd3f0d9f677 (diff)
close FILE `f' when we leave function fprio_readin(), so it wont get lost
ok beck@, todd@
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r--usr.sbin/afs/src/arlad/fprio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/afs/src/arlad/fprio.c b/usr.sbin/afs/src/arlad/fprio.c
index 57a075eb91a..6531ff383ee 100644
--- a/usr.sbin/afs/src/arlad/fprio.c
+++ b/usr.sbin/afs/src/arlad/fprio.c
@@ -228,6 +228,7 @@ fprio_readin(char *file)
fid.Cell = cellnum;
fprio_set(fid, prio ? TRUE : FALSE);
}
+ fclose(f);
return 0;
}