mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r233] Fixed order of arguments to print_func.
This commit is contained in:
parent
2d17eb9165
commit
01ea6431c8
16
test/tmeta.c
16
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() */
|
||||
|
Loading…
Reference in New Issue
Block a user