]> 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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Feb 2026 15:47:25 +0000 (00:47 +0900)
Follow-up for abe72100cfc292093153d48a132a5ab1b5f61dd5.

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);
 }