diff --git a/tests/sys/audit/inter-process.c b/tests/sys/audit/inter-process.c index 9a3946c5d6fe..7973c097ba9d 100644 --- a/tests/sys/audit/inter-process.c +++ b/tests/sys/audit/inter-process.c @@ -460,7 +460,7 @@ ATF_TC_BODY(shmat_success, tc) /* Check for shared memory ID and process address in record */ snprintf(ipcregex, sizeof(ipcregex), "shmat.*Shared Memory " - "IPC.*%d.*return,success,%d", shmid, (int)addr); + "IPC.*%d.*return,success", shmid); check_audit(fds, ipcregex, pipefd); /* Destroy the shared memory with ID = shmid */