ref: 38365f47b74a7f994cb5472399b9a7b9a92d293f
parent: 23fc5b838d1981362c38ebf99f57be79651120c6
author: rrt <rrt>
date: Sun Feb 4 21:26:11 EST 2007
Add missing parameters to error messages
--- a/src/stio.c
+++ b/src/stio.c
@@ -74,13 +74,13 @@
if ((ft->signal.size <= 0) || (ft->signal.size > ST_INFO_SIZE_MAX))
{
- st_fail_errno(ft,ST_EFMT,"data size %i is invalid");
+ st_fail_errno(ft,ST_EFMT,"data size %d is invalid", ft->signal.size);
return ST_EOF;
}
if (ft->signal.encoding <= 0 || ft->signal.encoding >= ST_ENCODINGS)
{
- st_fail_errno(ft,ST_EFMT,"data encoding %i is invalid");
+ st_fail_errno(ft,ST_EFMT,"data encoding %d is invalid", ft->signal.encoding);
return ST_EOF;
}