From a0efa5f5e3b615e306ae38c4592c4769a2e5ea55 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 17 Oct 2022 10:55:31 +0200 Subject: [PATCH] chore(userspace/libscap): minor change. Co-authored-by: Mauro Ezequiel Moltrasio Co-authored-by: Mauro Ezequiel Moltrasio Signed-off-by: Federico Di Pierro --- userspace/libscap/scap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/userspace/libscap/scap.c b/userspace/libscap/scap.c index 8a7e95650a..5afb09fc15 100644 --- a/userspace/libscap/scap.c +++ b/userspace/libscap/scap.c @@ -1256,8 +1256,9 @@ int scap_native_id_to_ppm_sc(int native_id) return -1; } return g_syscall_table[native_id].ppm_sc; -#endif +#else return -1; +#endif } int scap_get_modifies_state_tracepoints(OUT uint32_t tp_array[TP_VAL_MAX])