diff options
Diffstat (limited to 'src/dbus')
-rw-r--r-- | src/dbus/dlt-dbus-options.c | 6 | ||||
-rw-r--r-- | src/dbus/dlt-dbus.h | 2 |
2 files changed, 4 insertions, 4 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': diff --git a/src/dbus/dlt-dbus.h b/src/dbus/dlt-dbus.h index 6f553d9..05bddf1 100644 --- a/src/dbus/dlt-dbus.h +++ b/src/dbus/dlt-dbus.h @@ -31,7 +31,7 @@ #include "dlt.h" #include "dlt_common.h" -#define DEFAULT_CONF_FILE "/etc/dlt-dbus.conf" +#define DEFAULT_CONF_FILE CONFIGURATION_FILES_DIR "/dlt-dbus.conf" #define DLT_DBUS_FILTER_MAX 32 |