diff --git a/src/trapping/frfme.cpp b/src/trapping/frfme.cpp
index f8396cce718bc5a25668b111d541f9e3056c41e0..5372e66286a62160836f460e0ecebb2f3cf84e96 100644
--- a/src/trapping/frfme.cpp
+++ b/src/trapping/frfme.cpp
@@ -404,7 +404,7 @@ int main() {
 	  FILE *output = fopen(output_name.c_str(), "w");
 	  fprintf(output, " IF JLML < NLMMT, PRESERVE TEMPTAPE1, TEMPTAPE2, AND TFRFRME,\n");
 	  fprintf(output, " AND RESTART LM RUN WITH JLMF = JLML+1\n");
-	  if (spd > 0.0) fprintf(output, "  FRSHMX =%15.7lE\n", fshmx);
+	  if (spd > 0.0) fprintf(output, "  FSHMX =%15.7lE\n", fshmx);
 	  fprintf(output, "  FRSH =%15.7lE\n", frsh);
 	  fclose(output);
 	} else { // Should never happen.