summaryrefslogtreecommitdiffstats
path: root/tests/fake_systemd_tpm_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fake_systemd_tpm_path.c')
-rw-r--r--tests/fake_systemd_tpm_path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fake_systemd_tpm_path.c b/tests/fake_systemd_tpm_path.c
index 6d82989..3dff718 100644
--- a/tests/fake_systemd_tpm_path.c
+++ b/tests/fake_systemd_tpm_path.c
@@ -2,9 +2,9 @@
#include <stdlib.h>
/* systemd tpm2-util.h */
-int tpm2_find_device_auto(int log_level, char **ret);
+int tpm2_find_device_auto(char **ret);
-extern int tpm2_find_device_auto(int log_level __attribute__((unused)), char **ret)
+extern int tpm2_find_device_auto(char **ret)
{
const char *path = getenv("TPM_PATH");