Commit bb13bb7b43b5c7c8f7da2487b3504ee4a2ecc795

Authored by Stéphane Raimbault
1 parent 5ec104ae

Fix typo on fprintf

Showing 1 changed file with 1 additions and 1 deletions
tests/unit-test-slave.c
@@ -79,7 +79,7 @@ int main(void) @@ -79,7 +79,7 @@ int main(void)
79 /* Connection closed by the client, end of server */ 79 /* Connection closed by the client, end of server */
80 break; 80 break;
81 } else { 81 } else {
82 - sprintf(stderr, "Error in modbus_listen (%d)\n", ret); 82 + fprintf(stderr, "Error in modbus_listen (%d)\n", ret);
83 } 83 }
84 } 84 }
85 85