aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test-pckt-byte-order.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pckt-byte-order.c')
-rw-r--r--tests/test-pckt-byte-order.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-pckt-byte-order.c b/tests/test-pckt-byte-order.c
index edef3b6..85b3ad5 100644
--- a/tests/test-pckt-byte-order.c
+++ b/tests/test-pckt-byte-order.c
@@ -302,7 +302,7 @@ my_test_value(
302 302
303 if ( value != ptoh) 303 if ( value != ptoh)
304 { 304 {
305 our_error(opts, NULL, "value parsed from buffer does not match original"); 305 trutils_error(opts, NULL, "value parsed from buffer does not match original");
306 return(1); 306 return(1);
307 }; 307 };
308 308
@@ -313,13 +313,13 @@ my_test_value(
313 byte = ((offset+width-pos) << 4) | ((offset+width-pos) << 0); 313 byte = ((offset+width-pos) << 4) | ((offset+width-pos) << 0);
314 if (buff[pos] != byte) 314 if (buff[pos] != byte)
315 { 315 {
316 our_error(opts, NULL, "unexpected byte in buffer at offset %zu", pos); 316 trutils_error(opts, NULL, "unexpected byte in buffer at offset %zu", pos);
317 return(1); 317 return(1);
318 }; 318 };
319 } else { 319 } else {
320 if (buff[pos] != 0xff) 320 if (buff[pos] != 0xff)
321 { 321 {
322 our_error(opts, NULL, "unexpected byte in buffer at offset %zu", pos); 322 trutils_error(opts, NULL, "unexpected byte in buffer at offset %zu", pos);
323 return(1); 323 return(1);
324 }; 324 };
325 }; 325 };