commit 8216a97519e8d9adfc56ede64e44e8574701e531
Author: sin <[email protected]>
Date:   Tue Jun 3 16:24:53 2014 +0100

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

diff --git a/hwclock.c b/hwclock.c
index b48d46c..e26fd73 100644
--- a/hwclock.c
+++ b/hwclock.c
@@ -155,6 +155,7 @@ systohc(char *dev)
        gettimeofday(&tv, NULL);
        t = tv.tv_sec;
        tm = gmtime(&t);
+       weprintf("warning: assuming UTC for systohc
");
        writertctm(tm, fd);
        close(fd);
 }


Reply via email to