ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit 8216a97519e8d9adfc56ede64e44e8574701e531
parent 0d09df4645e4eef556075f31290915f1f22e7c4d
Author: sin <sin@2f30.org>
Date:   Tue,  3 Jun 2014 16:24:53 +0100

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

Diffstat:
Mhwclock.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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); }