From 8216a97519e8d9adfc56ede64e44e8574701e531 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 3 Jun 2014 16:24:53 +0100 Subject: [PATCH] Print a warning for -w to let the user know that we are assuming UTC --- hwclock.c | 1 + 1 file changed, 1 insertion(+) 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\n"); writertctm(tm, fd); close(fd); }