summaryrefslogtreecommitdiff
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-04-10 18:27:59 +0000
committermycroft <mycroft@NetBSD.org>1995-04-10 18:27:59 +0000
commitc75f9f2e07d56f05a9961230ec2f8725df14a8b7 (patch)
tree337ff43dbe397c62e99df5c7dfa37ca763b2dcce /sys/kern/exec_script.c
parent70839d3b04e3211aa58ef75443a31c9c8e84057f (diff)
Change `fdclose' to `fdrelease', to avoid confusion with device interfaces.
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r--sys/kern/exec_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index d414a23aa49..dfd1a405f00 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_script.c,v 1.11 1995/03/09 12:05:47 mycroft Exp $ */
+/* $NetBSD: exec_script.c,v 1.12 1995/04/10 18:27:59 mycroft Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -270,7 +270,7 @@ fail:
/* kill the opened file descriptor, else close the file */
if (epp->ep_flags & EXEC_HASFD) {
epp->ep_flags &= ~EXEC_HASFD;
- (void) fdclose(p, epp->ep_fd);
+ (void) fdrelease(p, epp->ep_fd);
} else
vn_close(scriptvp, FREAD, p->p_ucred, p);