summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/daemon/dlt-daemon.c2
-rwxr-xr-xsrc/shared/dlt_common.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
index 51b7b02..4308171 100755
--- a/src/daemon/dlt-daemon.c
+++ b/src/daemon/dlt-daemon.c
@@ -132,7 +132,7 @@ static pthread_attr_t dlt_daemon_timingpacket_thread_attr;
void usage()
{
printf("Usage: dlt-daemon [options]\n");
- printf("DLT logging daemon\n");
+ printf("DLT logging daemon %s\n", _DLT_PACKAGE_REVISION);
printf("Options:\n");
printf(" -d Daemonize\n");
printf(" -h Usage\n");
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c
index 6b75e79..033ea1f 100755
--- a/src/shared/dlt_common.c
+++ b/src/shared/dlt_common.c
@@ -3044,17 +3044,17 @@ speed_t dlt_convert_serial_speed(int baudrate)
void dlt_get_version(char *buf)
{
sprintf(buf,"DLT Package Version: %s %s, Package Revision: %s, build on %s %s\n",
- PACKAGE_VERSION, PACKAGE_VERSION_STATE, PACKAGE_REVISION, __DATE__ , __TIME__ );
+ _DLT_PACKAGE_VERSION, _DLT_PACKAGE_VERSION_STATE, _DLT_PACKAGE_REVISION, __DATE__ , __TIME__ );
}
void dlt_get_major_version(char *buf)
{
- sprintf(buf,"%s",PACKAGE_MAJOR_VERSION);
+ sprintf(buf,"%s",_DLT_PACKAGE_MAJOR_VERSION);
}
void dlt_get_minor_version(char *buf)
{
- sprintf(buf,"%s",PACKAGE_MINOR_VERSION);
+ sprintf(buf,"%s",_DLT_PACKAGE_MINOR_VERSION);
}