Skip to content

Commit

Permalink
ibdiags: Don't use __DATE__ and __TIME__
Browse files Browse the repository at this point in the history
This prevents the build from being reproducible.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
  • Loading branch information
jgunthorpe committed May 15, 2019
1 parent 29aa335 commit 87ec0dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibdiags/src/ibdiag_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87ec0dd

Please sign in to comment.