aboutsummaryrefslogtreecommitdiff
path: root/lib/et/com_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/et/com_err.c')
-rw-r--r--lib/et/com_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/et/com_err.c b/lib/et/com_err.c
index d38998a2..7294c6d8 100644
--- a/lib/et/com_err.c
+++ b/lib/et/com_err.c
@@ -62,7 +62,8 @@ default_com_err_proc (const char *whoami, errcode_t code, const
fflush(stderr);
}
-typedef void (*errf) (const char *, errcode_t, const char *, va_list);
+typedef void (*errf) (const char *, errcode_t, const char *, va_list)
+ COM_ERR_ATTR((format(printf, 3, 0)));
errf com_err_hook = default_com_err_proc;