Print a warning for -w to let the user know that we are assuming UTC

This commit is contained in:
sin 2014-06-03 16:24:53 +01:00
parent 0d09df4645
commit 8216a97519
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ systohc(char *dev)
gettimeofday(&tv, NULL); gettimeofday(&tv, NULL);
t = tv.tv_sec; t = tv.tv_sec;
tm = gmtime(&t); tm = gmtime(&t);
weprintf("warning: assuming UTC for systohc\n");
writertctm(tm, fd); writertctm(tm, fd);
close(fd); close(fd);
} }