Bug 71480
Summary: | Local Time Not Reported for Lease | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <tajohnson> |
Component: | pump | Assignee: | Eido Inoue <havill> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | athlon | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-03-11 23:32:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2002-08-14 07:12:19 UTC
A trivial fix. Seems reasonable. already fixed in cvs: static const char *const fmt = "%c"; /* stupid Y2K paranoid compiler */ upnow = pumpUptime(); tzset(); now = time(NULL); localAt = now + (i.renewAt - upnow); localExpiration = now + (i.leaseExpiration - upnow); strftime(s, sizeof(s), fmt, localtime(&localAt)); printf(_("\tRenewal time: %s\n"), s); strftime(s, sizeof(s), fmt, localtime(&localExpiration)); printf(_("\tExpiration time: %s\n"), s); |