aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/ticoff.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/ticoff.em')
-rw-r--r--ld/emultempl/ticoff.em18
1 files changed, 9 insertions, 9 deletions
diff --git a/ld/emultempl/ticoff.em b/ld/emultempl/ticoff.em
index 926dbd9..d394e12 100644
--- a/ld/emultempl/ticoff.em
+++ b/ld/emultempl/ticoff.em
@@ -78,17 +78,17 @@ gld${EMULATION_NAME}_handle_option (int optc)
case OPTION_COFF_FORMAT:
if ((*optarg == '0' || *optarg == '1' || *optarg == '2')
- && optarg[1] == '\0')
- {
- static char buf[] = "coffX-${OUTPUT_FORMAT_TEMPLATE}";
- coff_version = *optarg - '0';
- buf[4] = *optarg;
- lang_add_output_format (buf, NULL, NULL, 0);
- }
+ && optarg[1] == '\0')
+ {
+ static char buf[] = "coffX-${OUTPUT_FORMAT_TEMPLATE}";
+ coff_version = *optarg - '0';
+ buf[4] = *optarg;
+ lang_add_output_format (buf, NULL, NULL, 0);
+ }
else
- {
+ {
einfo (_("%P%F: invalid COFF format version %s\n"), optarg);
- }
+ }
break;
}
return FALSE;