diff options
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r-- | gdb/corefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c index be0ecf0e3b0..b5256569a1e 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -439,7 +439,7 @@ static void set_gnutarget_command (char *, int, struct cmd_list_element *); static void set_gnutarget_command (char *ignore, int from_tty, struct cmd_list_element *c) { - if (STREQ (gnutarget_string, "auto")) + if (strcmp (gnutarget_string, "auto") == 0) gnutarget = NULL; else gnutarget = gnutarget_string; |