Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2023 11:49:34 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d502d3fc72f1 - main - opensm: Fix build with -Werror and -Wdate-time.
Message-ID:  <202305011149.341BnY9k025361@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky:

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

commit d502d3fc72f123f104cba3d1ad9135a7ef7cf78b
Author:     Mina Galić <freebsd@igalic.co>
AuthorDate: 2023-05-01 09:13:30 +0000
Commit:     Hans Petter Selasky <hselasky@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305011149.341BnY9k025361>