diff options
author | Christian Muck <christian.muck@bmw.de> | 2012-01-18 09:45:40 +0100 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2012-01-18 09:45:40 +0100 |
commit | 7348250fccdabfd4762dbae90637373f6585f4eb (patch) | |
tree | f5df0fb70255d94f75190df64d57e33cf410b5e0 /src | |
parent | f44294bba3598c84bb5fc766efa81b0634793e42 (diff) | |
download | DLT-daemon-7348250fccdabfd4762dbae90637373f6585f4eb.tar.gz |
[GSW-136] Improve including/prefixing of dlt_version.h fixed
Diffstat (limited to 'src')
-rwxr-xr-x | src/daemon/dlt-daemon.c | 2 | ||||
-rwxr-xr-x | src/shared/dlt_common.c | 6 |
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); } |