The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2666
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: 2xsec <[email protected]>
From 99bb3fa8e8d064145ff4ab8a05cc1389927c0125 Mon Sep 17 00:00:00 2001 From: 2xsec <[email protected]> Date: Tue, 2 Oct 2018 18:49:16 +0900 Subject: [PATCH] cgroups: remove unnecessary line Signed-off-by: 2xsec <[email protected]> --- src/lxc/cgroups/cgfsng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 629d371ec..e248db31a 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -136,10 +136,10 @@ static char *cg_legacy_must_prefix_named(char *entry) len = strlen(entry); prefixed = must_alloc(len + 6); - memcpy(prefixed, "name=", STRLITERALLEN("name=")); memcpy(prefixed + STRLITERALLEN("name="), entry, len); prefixed[len + 5] = '\0'; + return prefixed; }
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
