From 8ad6e9cf0276b43cec81e545e507d6a8532a9ad0 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 23 Jul 2017 13:48:18 +0000 Subject: Time comparison variables should be time_t (I did check for signed vs unsigned handling) ok jca --- usr.sbin/ifstated/ifstated.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ifstated') diff --git a/usr.sbin/ifstated/ifstated.h b/usr.sbin/ifstated/ifstated.h index c74fa315a0b..32cc462e253 100644 --- a/usr.sbin/ifstated/ifstated.h +++ b/usr.sbin/ifstated/ifstated.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ifstated.h,v 1.16 2017/07/04 21:04:14 benno Exp $ */ +/* $OpenBSD: ifstated.h,v 1.17 2017/07/23 13:48:18 deraadt Exp $ */ /* * Copyright (c) 2004 Ryan McBride @@ -52,7 +52,7 @@ struct ifsd_external { int prevstatus; u_int32_t frequency; u_int32_t refcount; - u_int32_t lastexec; + time_t lastexec; pid_t pid; }; @@ -110,7 +110,7 @@ struct ifsd_state { TAILQ_ENTRY(ifsd_state) entries; struct ifsd_action *init; struct ifsd_action *body; - u_int32_t entered; + time_t entered; char *name; }; -- cgit v1.2.3-59-g8ed1b