diff options
author | 2014-12-10 19:40:21 +0000 | |
---|---|---|
committer | 2014-12-10 19:40:21 +0000 | |
commit | dc59ca46f745219ece01a8aa4b6f7b0489e4e9ef (patch) | |
tree | 29256cc2710bd46d8725f7068b8abcabc3d2c889 /usr.sbin/syslogd/syslogd.c | |
parent | use .Rv and simplify wording; from Kaspars at Bankovskis dot net (diff) | |
download | wireguard-openbsd-dc59ca46f745219ece01a8aa4b6f7b0489e4e9ef.tar.xz wireguard-openbsd-dc59ca46f745219ece01a8aa4b6f7b0489e4e9ef.zip |
File descriptors are of type int, not short. While at it, adjust remaining
short to int too -- there are no space savings anymore, as stated by millert.
ok bluhm, millert
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 43470886753..cb6e817c0c6 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.134 2014/12/07 13:59:55 tobias Exp $ */ +/* $OpenBSD: syslogd.c,v 1.135 2014/12/10 19:40:21 tobias Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -121,8 +121,8 @@ const char ctty[] = _PATH_CONSOLE; struct filed { struct filed *f_next; /* next in linked list */ - short f_type; /* entry type, see below */ - short f_file; /* file descriptor */ + int f_type; /* entry type, see below */ + int f_file; /* file descriptor */ time_t f_time; /* time this was last written */ u_char f_pmask[LOG_NFACILITIES+1]; /* priority mask */ char *f_program; /* program this applies to */ |