[svn-r233] Fixed order of arguments to print_func.

This commit is contained in:
Quincey Koziol 1998-02-10 08:15:46 -05:00
parent 2d17eb9165
commit 01ea6431c8

View File

@ -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() */