From: Markus Großer Date: Tue, 5 Dec 2017 13:57:52 +0000 (+0100) Subject: Fix STEMlab start error output formatting X-Git-Url: https://git.rkrishnan.org/%5B/simplejson/(%5B%5E?a=commitdiff_plain;h=b293fdc4f68fdba6bc92fca78f97d6fb4428ba9a;p=pihpsdr.git Fix STEMlab start error output formatting This simply adds a colon between the user message and the cURL error. --- diff --git a/stemlab_discovery.c b/stemlab_discovery.c index 4581bd1..1927884 100644 --- a/stemlab_discovery.c +++ b/stemlab_discovery.c @@ -301,7 +301,7 @@ void stemlab_start_app(const char * const app_id) { CURLcode curl_error = CURLE_OK; #define check_curl(description) do { \ if (curl_error != CURLE_OK) { \ - fprintf(stderr, "stemlab_start: " description "%s\n", \ + fprintf(stderr, "stemlab_start: " description ": %s\n", \ curl_easy_strerror(curl_error)); \ exit(-1); \ } \