summaryrefslogtreecommitdiff
path: root/src/dbus/dlt-dbus-options.c
diff options
context:
space:
mode:
authorRadoslaw Kaczorowski <external.radoslaw.kaczorowski@bosch-softtec.com>2019-06-24 13:51:06 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-07-03 11:48:10 +0900
commit038da647b999c9f5183e8459e5d39b9450c1d078 (patch)
tree8974e354ed0e459223262a06f0e6d5cbb121ae71 /src/dbus/dlt-dbus-options.c
parent646f76c58bc81b2d41163b2e9dfcf279ebd9e887 (diff)
downloadDLT-daemon-038da647b999c9f5183e8459e5d39b9450c1d078.tar.gz
fix config path for dlt-dbus
use default config path relative to CONFIGURATION_FILES_DIR Signed-off-by: Vo Trung Chi <Chi.VoTrung@vn.bosch.com>
Diffstat (limited to 'src/dbus/dlt-dbus-options.c')
-rw-r--r--src/dbus/dlt-dbus-options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbus/dlt-dbus-options.c b/src/dbus/dlt-dbus-options.c
index fc5b584..d00cdc4 100644
--- a/src/dbus/dlt-dbus-options.c
+++ b/src/dbus/dlt-dbus-options.c
@@ -82,21 +82,21 @@ int read_command_line(DltDBusCliOptions *options, int argc, char *argv[])
{
options->BusType = malloc(strlen(optarg) + 1);
MALLOC_ASSERT(options->BusType);
- strcpy(options->BusType, optarg); /* strcpy unritical here, because size matches exactly the size to be copied */
+ strcpy(options->BusType, optarg); /* strcpy uncritical here, because size matches exactly the size to be copied */
break;
}
case 'a':
{
options->ApplicationId = malloc(strlen(optarg) + 1);
MALLOC_ASSERT(options->ApplicationId);
- strcpy(options->ApplicationId, optarg); /* strcpy unritical here, because size matches exactly the size to be copied */
+ strcpy(options->ApplicationId, optarg); /* strcpy uncritical here, because size matches exactly the size to be copied */
break;
}
case 'c':
{
options->ConfigurationFileName = malloc(strlen(optarg) + 1);
MALLOC_ASSERT(options->ConfigurationFileName);
- strcpy(options->ConfigurationFileName, optarg); /* strcpy unritical here, because size matches exactly the size to be copied */
+ strcpy(options->ConfigurationFileName, optarg); /* strcpy uncritical here, because size matches exactly the size to be copied */
break;
}
case 'h':