diff --git a/src/Expr.cc b/src/Expr.cc index 8a729de216..563538e105 100644 --- a/src/Expr.cc +++ b/src/Expr.cc @@ -2448,9 +2448,9 @@ ValPtr AssignExpr::InitVal(const zeek::Type* t, ValPtr aggr) const } else { - Error(fmt("type mismatch in table value initialization: " - "assigning '%s' to table with values of type '%s'", - type_name(op2->GetType()->Tag()), type_name(yt->Tag()))); + Error(util::fmt("type mismatch in table value initialization: " + "assigning '%s' to table with values of type '%s'", + type_name(op2->GetType()->Tag()), type_name(yt->Tag()))); return nullptr; } }