psasim: Fix doorbell file path
Do not apply twice TMP_FILE_BASE_PATH
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/tests/psa-client-server/psasim/src/psa_ff_server.c b/tests/psa-client-server/psasim/src/psa_ff_server.c
index b106092..00c5272 100644
--- a/tests/psa-client-server/psasim/src/psa_ff_server.c
+++ b/tests/psa-client-server/psasim/src/psa_ff_server.c
@@ -605,9 +605,9 @@
key_t key;
int qid;
FILE *fp;
- char doorbell_path[PATHNAMESIZE] = { 0 };
+ char doorbell_file[PATHNAMESIZE] = { 0 };
char queue_path[PATHNAMESIZE];
- snprintf(doorbell_path, PATHNAMESIZE, TMP_FILE_BASE_PATH "psa_notify_%u", getpid());
+ snprintf(doorbell_file, PATHNAMESIZE, "psa_notify_%u", getpid());
if (library_initialised > 0) {
return;
@@ -619,7 +619,7 @@
FATAL("Unsupported value. Aborting.");
}
- array[3] = doorbell_path;
+ array[3] = doorbell_file;
for (int i = 0; i < 32; i++) {
if (strncmp(array[i], "", 1) != 0) {