diff mbox series

[rdma-core,05/20] ibdiags: Don't use __DATE__ and __TIME__

Message ID 20190514234936.5175-6-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show
Series Incorporate infiniband-diags into rdma-core | expand

Commit Message

Jason Gunthorpe May 14, 2019, 11:49 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

This prevents the build from being reproducible.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 ibdiags/src/ibdiag_common.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/ibdiags/src/ibdiag_common.c b/ibdiags/src/ibdiag_common.c
index a5056ad244c7c3..6b1a31f877e16d 100644
--- a/ibdiags/src/ibdiag_common.c
+++ b/ibdiags/src/ibdiag_common.c
@@ -83,8 +83,7 @@  static const struct ibdiag_opt *opts_map[256];
 
 static const char *get_build_version(void)
 {
-	return "BUILD VERSION: " PACKAGE_VERSION " Build date: " __DATE__
-	       " " __TIME__;
+	return "BUILD VERSION: " PACKAGE_VERSION;
 }
 
 static void pretty_print(int start, int width, const char *str)