diff --git a/utils/kicad2step/pcb/oce_utils.cpp b/utils/kicad2step/pcb/oce_utils.cpp index 5b10d779c9..70e1a9bd46 100644 --- a/utils/kicad2step/pcb/oce_utils.cpp +++ b/utils/kicad2step/pcb/oce_utils.cpp @@ -1150,7 +1150,7 @@ bool PCBMODEL::getModelLabel( const std::string& aFileName, TRIPLET aScale, TDF_ else // Substitution is not allowed { if( aErrorMessage ) - aErrorMessage->Printf( "Cannot add a VRML model to a STEP file.\n", aFileName ); + aErrorMessage->Printf( "Cannot add a VRML model to a STEP file.\n" ); return false; }