diff options
Diffstat (limited to 'test/tmeta.c')
-rw-r--r-- | test/tmeta.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/tmeta.c b/test/tmeta.c index ec9269b..1ff8954 100644 --- a/test/tmeta.c +++ b/test/tmeta.c @@ -99,26 +99,26 @@ test_metadata(void) /* Check the values decoded */ if (di16 != TEST_INT16_VALUE) { print_func("Error decoding int16 meta-data wanted: %d, got: %d " - "at %s:%d\n", __FILE__, __LINE__, (int) TEST_INT16_VALUE, - (int) di16); + "at %s:%d\n", (int) TEST_INT16_VALUE, (int) di16, + __FILE__, __LINE__); num_errs++; } /* end if */ if (du16 != TEST_UINT16_VALUE) { print_func("Error decoding uint16 meta-data wanted: %u, got: %u " - "at %s:%d\n", __FILE__, __LINE__, - (unsigned) TEST_UINT16_VALUE, (unsigned) du16); + "at %s:%d\n", (unsigned) TEST_UINT16_VALUE, (unsigned) du16, + __FILE__, __LINE__); num_errs++; } /* end if */ if (di32 != TEST_INT32_VALUE) { print_func("Error decoding int32 meta-data wanted: %ld, got: %ld " - "at %s:%d\n", __FILE__, __LINE__, (long) TEST_INT32_VALUE, - (long) di32); + "at %s:%d\n", (long) TEST_INT32_VALUE, (long) di32, + __FILE__, __LINE__); num_errs++; } /* end if */ if (du32 != TEST_UINT32_VALUE) { print_func("Error decoding uint32 meta-data wanted: %lu, got: %lu " - "at %s:%d\n", __FILE__, __LINE__, - (unsigned long) TEST_UINT32_VALUE, (unsigned long) du32); + "at %s:%d\n", (unsigned long) TEST_UINT32_VALUE, (unsigned long) du32, + __FILE__, __LINE__); num_errs++; } /* end if */ } /* test_metadata() */ |