summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.h
diff options
context:
space:
mode:
authorJ William Piggott2017-12-24 21:37:36 +0100
committerKarel Zak2018-01-17 13:29:11 +0100
commitde4568f7574fc529eea3ba9a49bb706ffbbd201c (patch)
tree2fdd562ba5c57d7eafa495146908f7fc0381f37d /sys-utils/hwclock.h
parentcal: update man page (diff)
downloadkernel-qcow2-util-linux-de4568f7574fc529eea3ba9a49bb706ffbbd201c.tar.gz
kernel-qcow2-util-linux-de4568f7574fc529eea3ba9a49bb706ffbbd201c.tar.xz
kernel-qcow2-util-linux-de4568f7574fc529eea3ba9a49bb706ffbbd201c.zip
hwclock: rename --debug option to --verbose
Warn on --debug; do not fallthrough because the message is lost in the verbose output. Coauthored-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.h')
-rw-r--r--sys-utils/hwclock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h
index 215cf9302..570bfe439 100644
--- a/sys-utils/hwclock.h
+++ b/sys-utils/hwclock.h
@@ -18,7 +18,7 @@ struct hwclock_control {
#ifdef __linux__
char *rtc_dev_name;
#endif
- unsigned int debug;
+ unsigned int verbose;
unsigned int
hwaudit_on:1,
adjust:1,
@@ -54,7 +54,6 @@ extern struct clock_ops *probe_for_cmos_clock(void);
extern struct clock_ops *probe_for_rtc_clock(const struct hwclock_control *ctl);
/* hwclock.c */
-extern int debug;
extern double time_diff(struct timeval subtrahend, struct timeval subtractor);
/* rtc.c */