diff options
author | guenther <guenther@openbsd.org> | 2013-06-05 01:26:00 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2013-06-05 01:26:00 +0000 |
commit | af69e8976a19e4314d09f2fbbb378b149f5ac30b (patch) | |
tree | 99b78d62fff027d6fd42eb9e9c2f142e4307897e /usr.sbin/pstat | |
parent | ditch local ld.script and use conf/ld.script instead, and adjust entry (diff) | |
download | wireguard-openbsd-af69e8976a19e4314d09f2fbbb378b149f5ac30b.tar.xz wireguard-openbsd-af69e8976a19e4314d09f2fbbb378b149f5ac30b.zip |
Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passing
O_* flags and eliminating an XXX comment.
ok matthew@ deraadt@
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 998ce4035d3..8ae34e9e90b 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pstat.c,v 1.84 2013/04/21 20:49:39 guenther Exp $ */ +/* $OpenBSD: pstat.c,v 1.85 2013/06/05 01:26:00 guenther Exp $ */ /* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */ /*- @@ -1045,11 +1045,11 @@ filemode(void) *fbp++ = 'W'; if (kf->f_flag & FAPPEND) *fbp++ = 'A'; - if (kf->f_flag & FHASLOCK) - *fbp++ = 'L'; if (kf->f_flag & FASYNC) *fbp++ = 'I'; + if (kf->f_iflags & FIF_HASLOCK) + *fbp++ = 'L'; if (kf->f_iflags & FIF_LARVAL) *fbp++ = 'l'; if (kf->f_iflags & FIF_MARK) |