Skip to content

Commit 3623394

Browse files
committed
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.
1 parent 844ab3b commit 3623394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opensm/osm_console.c

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

16591659
static void version_parse(char **p_last, osm_opensm_t * p_osm, FILE * out)
16601660
{
1661-
fprintf(out, "%s build %s %s\n", p_osm->osm_version, __DATE__, __TIME__);
1661+
fprintf(out, "%s build\n", p_osm->osm_version);
16621662
}
16631663

16641664
/* more parse routines go here */

0 commit comments

Comments
 (0)