* arch-utils.c (show_endian): Correct reversed condition.

This commit is contained in:
Daniel Jacobowitz 2007-01-20 18:31:29 +00:00
parent 6e81a11699
commit 7b6b9e83ff
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
* arch-utils.c (show_endian): Correct reversed condition.
2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* MAINTAINERS (Write After Approval): Add myself.

View File

@ -322,7 +322,7 @@ static void
show_endian (struct ui_file *file, int from_tty, struct cmd_list_element *c,
const char *value)
{
if (target_byte_order_user != BFD_ENDIAN_UNKNOWN)
if (target_byte_order_user == BFD_ENDIAN_UNKNOWN)
if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
fprintf_unfiltered (file, _("The target endianness is set automatically "
"(currently big endian)\n"));