diff options
Diffstat (limited to 'gas/testsuite/gas/all/itbl-test.c')
-rw-r--r-- | gas/testsuite/gas/all/itbl-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/testsuite/gas/all/itbl-test.c b/gas/testsuite/gas/all/itbl-test.c index 023f5d95bee..d97454ebf84 100644 --- a/gas/testsuite/gas/all/itbl-test.c +++ b/gas/testsuite/gas/all/itbl-test.c @@ -118,8 +118,8 @@ test_reg (e_processor processor, e_type type, char *name, n, processor, type, val); /* We require that names be unique amoung processors and types. */ - v = itbl_get_reg_val (name); - if (!v || v != val) + if (! itbl_get_reg_val (name, &v) + || v != val) printf ("Error - reg val not found for processor=%d, type=%d, name=%s\n", processor, type, name); else |