acct(4) ac_tty shouldn't need NODEV from sys/param.h (which is kernel API),
authorderaadt <deraadt@openbsd.org>
Mon, 13 Dec 2021 16:37:37 +0000 (16:37 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 13 Dec 2021 16:37:37 +0000 (16:37 +0000)
commit5e1064a7ac2307dfd7966bb368ab963962429358
treec109d1ac8b63c377d481a78bae21aa9b5c72d646
parent9e257558e2b1e0746659862ae054f6c62c79f1f5
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
share/man/man5/acct.5
sys/kern/kern_acct.c
sys/sys/acct.h
usr.bin/lastcomm/lastcomm.c