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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

This prevents the build from being reproducible.

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

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)
-- 
2.21.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux