summaryrefslogtreecommitdiff
path: root/checks.c
diff options
context:
space:
mode:
Diffstat (limited to 'checks.c')
-rw-r--r--checks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks.c b/checks.c
index 4dfdf48..4834e44 100644
--- a/checks.c
+++ b/checks.c
@@ -123,7 +123,7 @@ static inline void PRINTF(5, 6) check_msg(struct check *c, struct dt_info *dti,
pos = pos->next;
file_str = srcpos_string(pos);
- str += xasprintf_append(&str, " also defined at %s\n", file_str);
+ xasprintf_append(&str, " also defined at %s\n", file_str);
free(file_str);
}
}