From b59b0a0a8026e322f029dbfc685f783b053fb173 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 20 2020 12:12:37 +0000 Subject: core api: toks_service_start(): TOKS_SERVICE_IMAGE macro integration. --- diff --git a/src/service/toks_service_start.c b/src/service/toks_service_start.c index 4b1c719..8fefc82 100644 --- a/src/service/toks_service_start.c +++ b/src/service/toks_service_start.c @@ -11,7 +11,10 @@ #include "toksvc_driver_impl.h" #include "toksvc_daemon_impl.h" -static char toks_service_image[] = "/bin/toksvc"; +#define TOKS_STR(x) #x +#define TOKS_XSTR(x) TOKS_STR(x) + +static char toks_service_image[] = TOKS_XSTR(TOKS_SERVICE_IMAGE); static int32_t toks_spawn_child_exit_code(void * hprocess) {