* [PATCH 5/5] hwclock: version prints out of order
@ 2014-10-24 2:55 JWP
0 siblings, 0 replies; only message in thread
From: JWP @ 2014-10-24 2:55 UTC (permalink / raw)
To: Karel Zak; +Cc: util-linux
The version string was printing after other
messages, it should be the first thing to print.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
---
sys-utils/hwclock.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index 6d05d46..5ff5c70 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -1879,6 +1879,9 @@ int main(int argc, char **argv)
}
}
#endif
+ if (debug)
+ out_version();
+
if (argc > 0) {
usage(_("%s takes no non-option arguments\n"
"You supplied %d\n"), program_invocation_short_name,
@@ -1941,9 +1944,6 @@ int main(int argc, char **argv)
}
#endif
- if (debug)
- out_version();
-
if (!systz && !predict) {
determine_clock_access_method(directisa);
if (!ur) {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-24 2:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 2:55 [PATCH 5/5] hwclock: version prints out of order JWP
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.