version 1.8, 2025/04/10 01:24:38
|
version 1.9, 2025/04/13 04:22:43
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.9 2025/04/13 04:22:43 snw |
|
* Fix snprintf calls |
|
* |
* Revision 1.8 2025/04/10 01:24:38 snw |
* Revision 1.8 2025/04/10 01:24:38 snw |
* Remove C++ style comments |
* Remove C++ style comments |
* |
* |
Line 456 short msck_get_terminator (int channel,
|
Line 459 short msck_get_terminator (int channel,
|
freem_ref_t *wrr = (freem_ref_t *) malloc (sizeof (freem_ref_t)); |
freem_ref_t *wrr = (freem_ref_t *) malloc (sizeof (freem_ref_t)); |
NULLPTRCHK(wrr,"msck_get_terminator"); |
NULLPTRCHK(wrr,"msck_get_terminator"); |
|
|
snprintf (wr_io, 8, "%d", channel); |
snprintf (wr_io, sizeof (wr_io) - 1, "%d", channel); |
|
|
/* get ^$DEVICE($IO,"TERMINATOR") */ |
/* get ^$DEVICE($IO,"TERMINATOR") */ |
|
|