Only cosmetic changes.
Signed-off-by: Ralf Ramsauer <[email protected]>
---
tools/jailhouse.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tools/jailhouse.c b/tools/jailhouse.c
index 54ff4b17d8..82f2e1ac41 100644
--- a/tools/jailhouse.c
+++ b/tools/jailhouse.c
@@ -201,13 +201,14 @@ static char *read_sysfs_cell_string(const unsigned int
id, const char *entry)
/* entries in /sys/devices/jailhouse/cells must not be empty */
if (size == 0) {
- snprintf(buffer, sizeof(buffer), "reading " JAILHOUSE_CELLS
"%u/%s",
- id, entry);
+ snprintf(buffer, sizeof(buffer),
+ "reading " JAILHOUSE_CELLS "%u/%s", id, entry);
perror(buffer);
exit(1);
}
- /* chop trailing linefeeds and enforce the string to be null-terminated
*/
+ /* chop trailing linefeeds and enforce the string to be
+ * null-terminated */
if (ret[size-1] != '\n')
ret = realloc(ret, ++size);
ret[size-1] = 0;
--
2.12.0
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.