From: Christian Brauner Date: Sat, 17 Feb 2018 18:14:48 +0000 (+0100) Subject: cgfsng: copy_to_eol() X-Git-Tag: lxc-3.0.0.beta1~22^2~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f523291e3e58ca3e84bf8152852bcda4f05f1aac;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 e2664decc..0723ce6b3 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -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;