]> jfr.im git - irc/weechat/weechat.git/commitdiff
core: add missing trailing newline char in doc generation error messages
authorSébastien Helleu <redacted>
Mon, 31 Jul 2023 06:07:33 +0000 (08:07 +0200)
committerSébastien Helleu <redacted>
Mon, 31 Jul 2023 06:07:33 +0000 (08:07 +0200)
src/core/wee-doc.c

index 406388a9db87fdc19bfec26b61ff4716a614460f..8a70420f519212b304af50d057ee27a290e02900 100644 (file)
@@ -126,7 +126,7 @@ doc_gen_open_file (const char *path, const char *doc, const char *name,
     if (!file)
     {
         string_fprintf (stderr,
-                        "doc generator: ERROR: unable to write file \"%s\"",
+                        "doc generator: ERROR: unable to write file \"%s\"\n",
                         filename);
         return NULL;
     }
@@ -1652,7 +1652,7 @@ doc_generate (const char *path)
     {
         string_fprintf (
             stderr,
-            "doc generator: ERROR: failed to create directory \"%s\")",
+            "doc generator: ERROR: failed to create directory \"%s\")\n",
             path);
         goto end;
     }