mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Use a flexible array for TypeNames instead of hardcoding the array length
MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
bc64f428ad
commit
72e282471c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313357
@ -287,7 +287,7 @@ static int repeatinterval[] = { 30, 120, 600 }; /* # of secs before flush */
|
||||
#define F_WALL 6 /* everyone logged on */
|
||||
#define F_PIPE 7 /* pipe to program */
|
||||
|
||||
static const char *TypeNames[8] = {
|
||||
static const char *TypeNames[] = {
|
||||
"UNUSED", "FILE", "TTY", "CONSOLE",
|
||||
"FORW", "USERS", "WALL", "PIPE"
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user