mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-19 09:40:29 +00:00
psasim: Fix doorbell file path
Do not apply twice TMP_FILE_BASE_PATH Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
c04c2ed2eb
commit
3943467863
@ -605,9 +605,9 @@ void __init_psasim(const char **array,
|
||||
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 @@ void __init_psasim(const char **array,
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user