summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/fifolog/lib/fifolog_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fifolog/lib/fifolog_int.c b/usr.sbin/fifolog/lib/fifolog_int.c
index f980f19..9d3b437 100644
--- a/usr.sbin/fifolog/lib/fifolog_int.c
+++ b/usr.sbin/fifolog/lib/fifolog_int.c
@@ -56,7 +56,7 @@ static const char *
fifolog_int_open_i(struct fifolog_file *f, const char *fname, int mode)
{
struct stat st;
- unsigned u;
+ ssize_t u;
int i;
f->fd = open(fname, mode ? O_RDWR : O_RDONLY);
OpenPOWER on IntegriCloud