The branch main has been updated by hselasky:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=d502d3fc72f123f104cba3d1ad9135a7ef7cf78b

commit d502d3fc72f123f104cba3d1ad9135a7ef7cf78b
Author:     Mina Galić <free...@igalic.co>
AuthorDate: 2023-05-01 09:13:30 +0000
Commit:     Hans Petter Selasky <hsela...@freebsd.org>
CommitDate: 2023-05-01 11:46:24 +0000

    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
---
 contrib/ofed/opensm/opensm/osm_console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */

Reply via email to