Skip to content

Commit

Permalink
Print a better version string than "$Rev$".
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Nordberg committed May 28, 2010
1 parent 880c3f2 commit 8439155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radsecproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3091,7 +3091,7 @@ void getargs(int argc, char **argv, uint8_t *foreground, uint8_t *pretend, uint8
*pretend = 1;
break;
case 'v':
debug(DBG_ERR, "radsecproxy revision $Rev$");
debug(DBG_ERR, "radsecproxy revision %s", PACKAGE_VERSION);
debug(DBG_ERR, "This binary was built with support for the following transports:");
#ifdef RADPROT_UDP
debug(DBG_ERR, " UDP");
Expand Down Expand Up @@ -3210,7 +3210,7 @@ int main(int argc, char **argv) {
debugx(1, DBG_ERR, "daemon() failed: %s", strerror(errno));

debug_timestamp_on();
debug(DBG_INFO, "radsecproxy revision $Rev$ starting");
debug(DBG_INFO, "radsecproxy revision %s starting", PACKAGE_VERSION);
if (pidfile && !createpidfile(pidfile))
debugx(1, DBG_ERR, "failed to create pidfile %s: %s", pidfile, strerror(errno));

Expand Down

0 comments on commit 8439155

Please sign in to comment.