aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 1f060506a..97ceea600 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -1599,7 +1599,7 @@ gb_internal Entity *check_ident(CheckerContext *c, Operand *o, Ast *n, Type *nam
for (CIdentSuggestion const &suggestion : c_ident_suggestions) {
if (name == suggestion.name) {
- error_line("\tSuggestion: Did you mean %s\n", LIT(suggestion.msg));
+ error_line("\tSuggestion: Did you mean %.*s\n", LIT(suggestion.msg));
}
}
}