aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_global_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp_global_data.h')
-rw-r--r--platform/linux-generic/include/odp_global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_global_data.h b/platform/linux-generic/include/odp_global_data.h
index 06e269b4d..462b8d639 100644
--- a/platform/linux-generic/include/odp_global_data.h
+++ b/platform/linux-generic/include/odp_global_data.h
@@ -61,7 +61,7 @@ typedef struct odp_global_data_ro_t {
pid_t main_pid;
pid_t fdserver_pid;
char uid[UID_MAXLEN];
- odp_log_func_t log_fn;
+ odp_log_func_t ODP_PRINTF_FORMAT(2, 3) log_fn;
odp_abort_func_t abort_fn;
system_info_t system_info;
hugepage_info_t hugepage_info;