Commit ad4623c05b722cf99dcc2ab10f547ffec4a40f0b

Authored by Stéphane Raimbault
1 parent 4fb681f6

Fix typo in message. Thanks to Perry Kundert.

Showing 1 changed file with 1 additions and 1 deletions
src/modbus.c
... ... @@ -563,7 +563,7 @@ static int check_confirmation(modbus_t *ctx, uint8_t *req,
563 563 if (function != req[offset]) {
564 564 if (ctx->debug) {
565 565 fprintf(stderr,
566   - "Received function not corresponding to the requestd (0x%X != 0x%X)\n",
  566 + "Received function not corresponding to the request (0x%X != 0x%X)\n",
567 567 function, req[offset]);
568 568 }
569 569 if (ctx->error_recovery & MODBUS_ERROR_RECOVERY_PROTOCOL) {
... ...