summaryrefslogtreecommitdiff
path: root/gcc/ada/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r--gcc/ada/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index 39feb1cc9c2..b8a3299ef49 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -301,7 +301,7 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED)
break;
case OPT_gant:
- warning ("%<-gnat%> misspelled as %<-gant%>");
+ warning (0, "%<-gnat%> misspelled as %<-gant%>");
/* ... fall through ... */