summaryrefslogtreecommitdiff
path: root/src/ipmievd.c
diff options
context:
space:
mode:
authorAlexander Amelkin <alexander@amelkin.msk.ru>2018-07-26 19:40:44 +0300
committerAlexander Amelkin <alexander@amelkin.msk.ru>2018-11-07 18:11:58 +0300
commitf0d5c17ea7b2b5b815f24b101d35ddda1a88d8a4 (patch)
treee4e79eba9b70161f8242638e539acf3ad211005b /src/ipmievd.c
parenta4ac8ce4ab9a013ff0a12f0ea604eaf09af7d8bf (diff)
downloadipmitool-f0d5c17ea7b2b5b815f24b101d35ddda1a88d8a4.tar.gz
Refactor timestamp handling
Handle all date/time stamps uniformly, taking in account the host endianness. Respect the local time zone and the '-Z' option for all ipmitool commands. Unify the date and time formatting. Add correct handling of IPMI timestamps 'since system startup' and for 'unspecified' timestamps. Partially resolves ipmitool/ipmitool#23 Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
Diffstat (limited to 'src/ipmievd.c')
-rw-r--r--src/ipmievd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ipmievd.c b/src/ipmievd.c
index fefeb4a..8fbef41 100644
--- a/src/ipmievd.c
+++ b/src/ipmievd.c
@@ -88,7 +88,6 @@ char pidfile[64];
/* global variables */
int verbose = 0;
int csv_output = 0;
-int time_in_utc = 0;
uint16_t selwatch_count = 0; /* number of entries in the SEL */
uint16_t selwatch_lastid = 0; /* current last entry in the SEL */
int selwatch_pctused = 0; /* current percent usage in the SEL */