From f672b1921bc98d759f0c4f29adc26104353f86dd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 1 Oct 2019 09:33:50 -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 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); }