aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.h b/src/error.h
index 3d4334f..a848116 100644
--- a/src/error.h
+++ b/src/error.h
@@ -80,10 +80,10 @@ teco_error_syntax_set(GError **error, gunichar chr)
}
static inline void
-teco_error_modifier_set(GError **error, gchar chr)
+teco_error_modifier_set(GError **error, const gchar *cmd)
{
g_set_error(error, TECO_ERROR, TECO_ERROR_MODIFIER,
- "Unexpected modifier on <%c>", chr);
+ "Unexpected modifier on <%s>", cmd);
}
static inline void