diff options
author | 2012-04-22 05:43:14 +0000 | |
---|---|---|
committer | 2012-04-22 05:43:14 +0000 | |
commit | 06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c (patch) | |
tree | 2a68460f65d82ea3089edac4aeb664d53b5154e8 /sys/dev/systrace.c | |
parent | Fix printing commands with no arguments, from Benjamin Poirier. (diff) | |
download | wireguard-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/dev/systrace.c')
-rw-r--r-- | sys/dev/systrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/systrace.c b/sys/dev/systrace.c index 16d01c7d53d..3fc6d98c81c 100644 --- a/sys/dev/systrace.c +++ b/sys/dev/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.62 2012/02/20 22:23:39 guenther Exp $ */ +/* $OpenBSD: systrace.c,v 1.63 2012/04/22 05:43:14 guenther Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -539,7 +539,7 @@ systraceioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) f->f_ops = &systracefops; f->f_data = (caddr_t) fst; *(int *)data = fd; - FILE_SET_MATURE(f); + FILE_SET_MATURE(f, p); break; default: error = EINVAL; |