aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2016-08-25 15:27:53 +0200
committerLisa Nguyen <lisa.nguyen@linaro.org>2016-09-15 14:13:46 -0700
commite1207950e5051a7d4413737d8305e1767dd2e1b6 (patch)
tree69b8e7283c9cd9ab19af22a340f0fa77d942530a
parent588ae0ac75a96af50e525cf4255394521b56f770 (diff)
Get rid of __DATE__ use
clang 4.0 warns about __DATE__ resulting in non-reproducable builds - and we build powertop with -Werror Change-Id: I872a207b35595bb9f775ee7fc5348a3e99090a30 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e692218..9fe3c4e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -101,7 +101,7 @@ static const struct option long_options[] =
static void print_version()
{
- printf(_("PowerTOP version " POWERTOP_VERSION ", compiled on " __DATE__ "\n"));
+ printf(_("PowerTOP version " POWERTOP_VERSION "\n"));
}
static bool set_refresh_timeout()