Darwin: Fix a diagnostic spelling [PR93861]
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 2 May 2020 18:20:02 +0000 (19:20 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 2 May 2020 18:26:28 +0000 (19:26 +0100)
Add a missing '-' to a diagnostic.

gcc/ChangeLog:

2020-05-02  Iain Sandoe  <iain@sandoe.co.uk>

PR translation/93861
* config/darwin-driver.c (darwin_driver_init): Adjust spelling in
a warning.

gcc/ChangeLog
gcc/config/darwin-driver.c

index 5f35d5b3798132e6fedad8ff62f674dbf428bf80..93c91d83ce2bd1c0a9f7a78178c63f49028f4523 100644 (file)
@@ -1,3 +1,9 @@
+2020-05-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR translation/93861
+       * config/darwin-driver.c (darwin_driver_init): Adjust spelling in
+       a warning.
+
 2020-05-02  Jakub Jelinek  <jakub@redhat.com>
 
        * config/tilegx/tilegx.md
index 6cf85d04b6999ab0adc6808a044c63c74dc8e11f..8fdd32e28580bb5f98b948d02eba8f9cacb0823a 100644 (file)
@@ -321,7 +321,7 @@ darwin_driver_init (unsigned int *decoded_options_count,
          vers_string =
            validate_macosx_version_min ((*decoded_options)[i].arg);
          if (vers_string == NULL)
-           warning (0, "%qs is not valid for %<mmacosx-version-min%>",
+           warning (0, "%qs is not valid for %<-mmacosx-version-min%>",
                     (*decoded_options)[i].arg);
          else if (vers_string == (*decoded_options)[i].arg)
            vers_string = xstrndup ((*decoded_options)[i].arg, 32);