Skip to content

Commit

Permalink
opensm: Fix build with -Werror and -Wdate-time.
Browse files Browse the repository at this point in the history
This fixes builds WITH_OFED_EXTRA=YES .

PR:		270776
Pull Request:	#715
MFC after:	1 week
Sponsored by:	NVIDIA Networking
  • Loading branch information
igalic authored and hselasky committed May 1, 2023
1 parent b274854 commit d502d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/ofed/opensm/opensm/osm_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d502d3f

Please sign in to comment.