diff --git a/planner.c b/planner.c
index 3efa702d0..60751fcfd 100644
--- a/planner.c
+++ b/planner.c
@@ -534,7 +534,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
return;
if (error) {
- snprintf(temp, sizeof(temp),
+ snprintf(temp, sizeof(temp), "%s",
translate("gettextFromC", "Decompression calculation aborted due to excessive time"));
snprintf(buffer, sizeof(buffer), "%s %s
",
translate("gettextFromC", "Warning:"), temp);