]> 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>
Wed, 21 Feb 2018 14:48:25 +0000 (15:48 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index c64f86df29c72cf2828d94463544bba8f8040adf..6cd3c6162823d539184db9124c58c596f60ec432 100644 (file)
@@ -987,10 +987,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;