diff options
author | Mina Galić <freebsd@igalic.co> | 2023-05-01 09:13:30 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2023-05-01 11:46:24 +0000 |
commit | d502d3fc72f123f104cba3d1ad9135a7ef7cf78b (patch) | |
tree | 352576567ed0fb5c307823512d6a7505aad80bdf | |
parent | b274854dd943e66556ba2ecd7b6d3349b1cf8e6e (diff) | |
download | src-d502d3fc72f123f104cba3d1ad9135a7ef7cf78b.tar.gz src-d502d3fc72f123f104cba3d1ad9135a7ef7cf78b.zip |
opensm: Fix build with -Werror and -Wdate-time.
This fixes builds WITH_OFED_EXTRA=YES .
PR: 270776
Pull Request: https://github.com/freebsd/freebsd-src/pull/715
MFC after: 1 week
Sponsored by: NVIDIA Networking
-rw-r--r-- | contrib/ofed/opensm/opensm/osm_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ofed/opensm/opensm/osm_console.c b/contrib/ofed/opensm/opensm/osm_console.c index 48ee2a4aa77e..1dfeeeaf0fbf 100644 --- a/contrib/ofed/opensm/opensm/osm_console.c +++ b/contrib/ofed/opensm/opensm/osm_console.c @@ -1652,7 +1652,7 @@ static void help_version(FILE * out, int detail) static void version_parse(char **p_last, osm_opensm_t * p_osm, FILE * out) { - fprintf(out, "%s build %s %s\n", p_osm->osm_version, __DATE__, __TIME__); + fprintf(out, "%s\n", p_osm->osm_version); } /* more parse routines go here */ |