From c52796f4a2aae0bda20f2a9807279ba8b38e28cb Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 1 Oct 2019 09:45:03 -0400 Subject: [PATCH] Update main.c --- afsk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index b6406c06..fdc4a760 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -915,7 +915,7 @@ int get_tlm_fox() { int sock_ret = send(sock, buffer[alt], buffSize, 0); printf("Result of socket send: %d \n", sock_ret); if (sock_ret == -1) - printf("Error: %s \n", sock_ret, strerror(errno)); + printf("Error: %s \n", strerror(errno)); alt = (++alt) % 2; printf("Alternate value is %d \n", alt); }