Skip to content

Commit e36a3cc

Browse files
committed
ofed: Fix build with -Werror -Wdate-time
FreeBSD 14 adds -Werror -Wdate-time to its build which trips up on opensm's build. Remove it from the code, as it doesn't really add much. This fixes builds WITH_OFED_EXTRA. PR: 270776 Upstream Pull-Request: linux-rdma/opensm#33
1 parent 421516f commit e36a3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/ofed/opensm/opensm/osm_console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ static void help_version(FILE * out, int detail)
16521652

16531653
static void version_parse(char **p_last, osm_opensm_t * p_osm, FILE * out)
16541654
{
1655-
fprintf(out, "%s build %s %s\n", p_osm->osm_version, __DATE__, __TIME__);
1655+
fprintf(out, "%s build\n", p_osm->osm_version);
16561656
}
16571657

16581658
/* more parse routines go here */

0 commit comments

Comments
 (0)