summaryrefslogtreecommitdiff
path: root/usr.sbin/ifstated
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-07-23 13:48:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-07-23 13:48:19 +0000
commit2e731b30fd2af2d8cc93d6e82ed3f1d4af57ebc9 (patch)
tree62d8a174dad4591e0c8ea2fb582fd662a785ce91 /usr.sbin/ifstated
parent793f7703e7a3d9f9eb1b4abd74f061a872f43128 (diff)
Time comparison variables should be time_t (I did check for signed vs
unsigned handling) ok jca
Diffstat (limited to 'usr.sbin/ifstated')
-rw-r--r--usr.sbin/ifstated/ifstated.h6
1 files changed, 3 insertions, 3 deletions
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;
};