From: Christian Brauner Date: Sat, 17 Feb 2018 18:14:48 +0000 (+0100) Subject: cgfsng: copy_to_eol() X-Git-Tag: lxc-2.0.10~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f26da40e1dec9f03c5ce07d52c50017437fa9b19;p=thirdparty%2Flxc.git cgfsng: copy_to_eol() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index c64f86df2..6cd3c6162 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -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;