]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
memstream-util: fix doubled %m
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Feb 2026 15:47:22 +0000 (00:47 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 27 Feb 2026 21:57:05 +0000 (21:57 +0000)
Follow-up for abe72100cfc292093153d48a132a5ab1b5f61dd5.

(cherry picked from commit 1f8fefd7de5038996bd9ab28a5b7715189a82a88)
(cherry picked from commit d540278328cd569ba34701564d5fce3c4e4d6a49)
(cherry picked from commit 3cc53636643a950508a86092b45c08e920092bc7)

src/basic/memstream-util.c

index 4e147fd78f52780d407171ac5618e708602e3b4c..3becc8520e1ba11b9a3e1d4fed3fa42dcd37f248 100644 (file)
@@ -69,7 +69,7 @@ int memstream_dump_internal(
 
         r = memstream_finalize(m, &buf, NULL);
         if (r < 0)
-                return log_full_errno(level, r, "Failed to flush memstream: %m: %m");
+                return log_full_errno(level, r, "Failed to flush memstream: %m");
 
         return log_dump_internal(level, error, file, line, func, buf);
 }