diff --git a/afsk/main.c b/afsk/main.c index 5816aa5f..f8e133a0 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -913,7 +913,7 @@ int get_tlm_fox() { digitalWrite (0, LOW); printf("Sending buffer over socket!\n"); int sock_ret = send(sock, buffer[alt], buffSize, 0); - printf("Result of socket send: %d errorno: %d \n", sock_ret, strerror(errno)); + printf("Result of socket send: %d errorno: %s \n", sock_ret, strerror(errno)); alt = (++alt) % 2; printf("Alternate value is %d \n", alt); }