Show hg revision number (serno) in ircd -version.

This commit is contained in:
Jilles Tjoelker 2008-04-22 23:41:16 +02:00
parent bec4db9b38
commit 7f9801883f
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ main(int argc, char *argv[])
if(printVersion) if(printVersion)
{ {
printf("ircd: version %s\n", ircd_version); printf("ircd: version %s(%s)\n", ircd_version, serno);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }