summaryrefslogtreecommitdiff
path: root/src/system/dlt-system.c
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-05-30 09:29:19 +0200
committerChristian Muck <christian.muck@bmw.de>2012-05-30 09:29:19 +0200
commit9141005cf22f379059c27aa4a82111a13e760883 (patch)
tree5181f382d26f2eac22acae1b43c7472da6c6a8f8 /src/system/dlt-system.c
parente6c9f558fd1aabef7063948a4f5b4e9600b265f9 (diff)
downloadDLT-daemon-9141005cf22f379059c27aa4a82111a13e760883.tar.gz
Added dlt log to injection methods
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'src/system/dlt-system.c')
-rwxr-xr-xsrc/system/dlt-system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/dlt-system.c b/src/system/dlt-system.c
index 13be32d..b04cdfb 100755
--- a/src/system/dlt-system.c
+++ b/src/system/dlt-system.c
@@ -517,7 +517,7 @@ int dlt_user_injection_callback(uint32_t service_id, void *data, uint32_t length
{
case 0x1001:
/* Execute shell command */
- //DLT_LOG(shellContext, DLT_LOG_INFO, DLT_STRING("Execute command:"), DLT_STRING(text));
+ DLT_LOG(shellContext, DLT_LOG_INFO, DLT_STRING("Execute command:"), DLT_STRING(text));
printf("Execute command: %s\n",text);
if((syserr = system(text)) != 0)
{
@@ -525,7 +525,7 @@ int dlt_user_injection_callback(uint32_t service_id, void *data, uint32_t length
}
break;
default:
- //DLT_LOG(shellContext, DLT_LOG_WARN, DLT_STRING("Unknown command received! Service ID:"), DLT_UINT32(service_id),DLT_STRING("Command:"),DLT_STRING(text));
+ DLT_LOG(shellContext, DLT_LOG_WARN, DLT_STRING("Unknown command received! Service ID:"), DLT_UINT32(service_id),DLT_STRING("Command:"),DLT_STRING(text));
printf("Unknown command received! Service ID: %u Command: %s\n",service_id,text);
break;
}