summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-05-08 08:45:25 +0200
committerChristian Muck <christian.muck@bmw.de>2012-05-30 09:05:27 +0200
commitee78627e44e4a3093789d1d361ac1e03354da6a4 (patch)
treeeaac7928a597e3b87126da92da3a310a11bd45cf
parente8120186b8ffdbd705d94737c874a6230afdaa2b (diff)
downloadDLT-daemon-ee78627e44e4a3093789d1d361ac1e03354da6a4.tar.gz
[GDLT-86] Fixed dlt_free uses absolute file path /tmp and not DLT_USER_DIR define
Signed-off-by: Christian Muck <christian.muck@bmw.de>
-rwxr-xr-xsrc/lib/dlt_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index 4e32039..cdaa93a 100755
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -384,7 +384,7 @@ int dlt_free(void)
if (dlt_user.dlt_user_handle!=-1)
{
- sprintf(filename,"/tmp/dlt%d",getpid());
+ sprintf(filename,"%s/dlt%d",DLT_USER_DIR,getpid());
close(dlt_user.dlt_user_handle);
dlt_user.dlt_user_handle=-1;