Merging upstream version 2.3.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f3ce14142a
commit
ce06587ac5
62 changed files with 3847 additions and 68733 deletions
|
@ -143,8 +143,8 @@ int main(int argc, char* argv[])
|
|||
struct tm tm;
|
||||
gmtime_r(&start_time, &tm);
|
||||
strftime(when, sizeof when, "%F %T", &tm);
|
||||
fprintf(stderr, "Sleeping for %d seconds until %s UTC\n",
|
||||
(int)(start_time - now.tv_sec), when);
|
||||
fprintf(stderr, "Sleeping for %" PRI_tv_sec " seconds until %s UTC\n",
|
||||
start_time - now.tv_sec, when);
|
||||
sleep(start_time - now.tv_sec);
|
||||
fprintf(stderr, "Awake.\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue