summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-04-22 05:43:14 +0000
committerguenther <guenther@openbsd.org>2012-04-22 05:43:14 +0000
commit06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c (patch)
tree2a68460f65d82ea3089edac4aeb664d53b5154e8 /sys/kern/exec_script.c
parentFix printing commands with no arguments, from Benjamin Poirier. (diff)
downloadwireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.tar.xz
wireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.zip
Add struct proc * argument to FRELE() and FILE_SET_MATURE() in
anticipation of further changes to closef(). No binary change. ok krw@ miod@ deraadt@
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 a6d730f8ece..a7e345b9699 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_script.c,v 1.27 2012/02/15 04:26:27 guenther Exp $ */
+/* $OpenBSD: exec_script.c,v 1.28 2012/04/22 05:43:14 guenther Exp $ */
/* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */
/*
@@ -198,7 +198,7 @@ check_shell:
fp->f_ops = &vnops;
fp->f_data = (caddr_t) scriptvp;
fp->f_flag = FREAD;
- FILE_SET_MATURE(fp);
+ FILE_SET_MATURE(fp, p);
}
#endif