commit | da4bad01f5219e2637aad6504320194cfd38837a | [log] [tgz] |
---|---|---|
author | Norman James <njames@us.ibm.com> | Sat Jan 16 07:17:08 2016 -0600 |
committer | Norman James <njames@us.ibm.com> | Sat Jan 16 07:17:08 2016 -0600 |
tree | 813b64f6e749a56c33b57bed18ddf8c20ee7359f | |
parent | 24274bc02a046e12d50f81bc8a598ae934f72c3f [diff] [blame] |
set usec so settimeofday call doesn't fail
diff --git a/storagehandler.C b/storagehandler.C index f3e2532..a68da8f 100644 --- a/storagehandler.C +++ b/storagehandler.C
@@ -60,6 +60,7 @@ struct timeval sel_time; sel_time.tv_sec = le32toh(*secs); + sel_time.tv_usec = 0; ipmi_ret_t rc = IPMI_CC_OK; int rct = settimeofday(&sel_time, NULL);