Skip to content

Commit ba4c1b1

Browse files
committed
new stub versioning format
1 parent 4773126 commit ba4c1b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/command.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4141,8 +4141,9 @@ static void perform_ver(const char *arg)
41414141
if ((_stubinfo->stubinfo_ver >> 16) == 0)
41424142
printf(" stubless build, loader version %i\n", _stubinfo->stubinfo_ver);
41434143
else
4144-
printf(" stub version %i, loader version %i\n",
4145-
_stubinfo->stubinfo_ver >> 16,
4144+
printf(" stub version %i.%i, loader version %i\n",
4145+
_stubinfo->stubinfo_ver >> 24,
4146+
(_stubinfo->stubinfo_ver >> 16) & 0xff,
41464147
_stubinfo->stubinfo_ver & 0xffff);
41474148
#endif
41484149
if (REV_ID[0])

0 commit comments

Comments
 (0)