[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL for-2.9 1/5] oslib: strip trailing '\n' from error_se
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL for-2.9 1/5] oslib: strip trailing '\n' from error_setg() string argument |
Date: |
Wed, 7 Jun 2017 19:07:32 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
spotted by Coccinelle script scripts/coccinelle/err-bad-newline.cocci
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
util/oslib-posix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/oslib-posix.c b/util/oslib-posix.c
index 7e28c16..9ab2eb2 100644
--- a/util/oslib-posix.c
+++ b/util/oslib-posix.c
@@ -400,7 +400,7 @@ void os_mem_prealloc(int fd, char *area, size_t memory, int
smp_cpus,
/* touch pages simultaneously */
if (touch_all_pages(area, hpagesize, numpages, smp_cpus)) {
error_setg(errp, "os_mem_prealloc: Insufficient free host memory "
- "pages available to allocate guest RAM\n");
+ "pages available to allocate guest RAM");
}
ret = sigaction(SIGBUS, &oldact, NULL);
--
2.9.4
- [Qemu-devel] [PULL for-2.9 0/5] Block patches, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 1/5] oslib: strip trailing '\n' from error_setg() string argument,
Stefan Hajnoczi <=
- [Qemu-devel] [PULL for-2.9 2/5] coccinelle: fix typo in comment, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 3/5] .gdbinit: load QEMU sub-commands when gdb starts, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 4/5] coroutine-lock: do not touch coroutine after another one has been entered, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 5/5] configure: split c and cxx extra flags, Stefan Hajnoczi, 2017/06/07
- Re: [Qemu-devel] [PULL for-2.9 0/5] Block patches, Peter Maydell, 2017/06/12