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
This commit is contained in:
Mina Galić 2023-05-01 11:13:30 +02:00 committed by Hans Petter Selasky
parent b274854dd9
commit d502d3fc72

View File

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