summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2010-05-28 15:54:02 +0200
committerLinus Nordberg <linus@nordberg.se>2010-05-28 15:54:02 +0200
commit8439155d06370a03d11fa4cd712f7ad17d9fc2aa (patch)
tree0e30ae6101708a8759f30d85b769a600e2d0d814 /radsecproxy.c
parent880c3f254c30465b271afe2ff806c6e1e72c5541 (diff)
Print a better version string than "$Rev$".
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index f65bc07..44aa890 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -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");
@@ -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));