diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-13 16:37:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-13 16:37:38 +0000 |
commit | ba1590a4b017c07576ce93524f047637c9acbcea (patch) | |
tree | d334c30bc23bef8e9958e5effc64fa96ac185c7d /share/man/man5 | |
parent | b5a48fb59d56fd5cd0c65a32b200d21132781170 (diff) |
acct(4) ac_tty shouldn't need NODEV from sys/param.h (which is kernel API),
-1 is sufficient to indicate the process had no controlling tty, removing
one more sys/param.h include in our userland
ok millert
Diffstat (limited to 'share/man/man5')
-rw-r--r-- | share/man/man5/acct.5 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man5/acct.5 b/share/man/man5/acct.5 index cbadbc43651..a2d17bec782 100644 --- a/share/man/man5/acct.5 +++ b/share/man/man5/acct.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acct.5,v 1.24 2021/02/04 02:03:53 rob Exp $ +.\" $OpenBSD: acct.5,v 1.25 2021/12/13 16:37:37 deraadt Exp $ .\" $NetBSD: acct.5,v 1.4 1995/10/22 01:40:10 ghudson Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)acct.5 8.1 (Berkeley) 6/5/93 .\" -.Dd $Mdocdate: February 4 2021 $ +.Dd $Mdocdate: December 13 2021 $ .Dt ACCT 5 .Os .Sh NAME @@ -66,7 +66,7 @@ struct acct { gid_t ac_gid; /* group id */ u_int16_t ac_mem; /* average memory usage */ comp_t ac_io; /* count of IO blocks */ - dev_t ac_tty; /* controlling tty */ + dev_t ac_tty; /* controlling tty, or -1 */ #define AFORK 0x01 /* fork'd but not exec'd */ #define AMAP 0x04 /* system call or stack mapping violation */ |