diff options
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/elfshphehdr.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 66781d0c..523a3506 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2015-10-09 Mark Wielaard <mjw@redhat.com> + + * elfshphehdr.c (check): Rename argument from check to statement. + (check_elf): Likewise. + 2015-10-05 Josh Stone <jistone@redhat.com> * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. diff --git a/tests/elfshphehdr.c b/tests/elfshphehdr.c index 5f6b96c9..0d92934b 100644 --- a/tests/elfshphehdr.c +++ b/tests/elfshphehdr.c @@ -31,9 +31,9 @@ #include <stdbool.h> void -check (const char *msg, bool check) +check (const char *msg, bool statement) { - if (! check) + if (! statement) { fprintf (stderr, "%s FAILED\n", msg); exit (-1); @@ -43,9 +43,9 @@ check (const char *msg, bool check) } void -check_elf (const char *msg, bool check) +check_elf (const char *msg, bool statement) { - if (! check) + if (! statement) { fprintf (stderr, "%s: %s\n", msg, elf_errmsg (-1)); exit (-1); |