]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgfsng: copy_to_eol()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Feb 2018 18:14:48 +0000 (19:14 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Feb 2018 18:14:48 +0000 (19:14 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index e2664decc8733ce4561bfde37657e72911618b7f..0723ce6b31179879e09db66f26895c559a618064 100644 (file)
@@ -996,10 +996,7 @@ static char *cg_hybrid_get_mountpoint(char *line)
        return sret;
 }
 
-/*
- * Given a multi-line string, return a null-terminated copy of the
- * current line.
- */
+/* Given a multi-line string, return a null-terminated copy of the current line. */
 static char *copy_to_eol(char *p)
 {
        char *p2 = strchr(p, '\n'), *sret;