about summary refs log tree commit diff
path: root/scrape.c
diff options
context:
space:
mode:
authorHeikki Kallasjoki <fis@zem.fi>2018-11-16 22:04:10 +0000
committerHeikki Kallasjoki <fis@zem.fi>2018-11-16 22:04:10 +0000
commit4335b8bdd601792a7f4164b82dd3573744df1213 (patch)
tree731f1ae0e01f78529e324708ce7fe5d4007ffd13 /scrape.c
parentf771790b633f02f3857689e9848b0756aeb30b98 (diff)
downloadnano-exporter-4335b8bdd601792a7f4164b82dd3573744df1213.tar.gz
nano-exporter-4335b8bdd601792a7f4164b82dd3573744df1213.tar.xz
nano-exporter-4335b8bdd601792a7f4164b82dd3573744df1213.zip
Bugfix: add missing \n to bind error message.
Diffstat (limited to 'scrape.c')
-rw-r--r--scrape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scrape.c b/scrape.c
index 57e5c6c..312f290 100644
--- a/scrape.c
+++ b/scrape.c
@@ -83,7 +83,7 @@ bool scrape_serve(const char *port, scrape_handler *handler, void *handler_ctx)
   }
 
   if (nfds == 0) {
-    fprintf(stderr, "failed to bind any sockets");
+    fprintf(stderr, "failed to bind any sockets\n");
     return false;
   }