Explorar o código

Fix typo in message. Thanks to Perry Kundert.

Stéphane Raimbault %!s(int64=11) %!d(string=hai) anos
pai
achega
ad4623c05b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modbus.c

+ 1 - 1
src/modbus.c

@@ -563,7 +563,7 @@ static int check_confirmation(modbus_t *ctx, uint8_t *req,
         if (function != req[offset]) {
             if (ctx->debug) {
                 fprintf(stderr,
-                        "Received function not corresponding to the requestd (0x%X != 0x%X)\n",
+                        "Received function not corresponding to the request (0x%X != 0x%X)\n",
                         function, req[offset]);
             }
             if (ctx->error_recovery & MODBUS_ERROR_RECOVERY_PROTOCOL) {