[lxc-devel] [lxc/master] cgroups: remove unnecessary line

2xsec on Github lxc-bot at linuxcontainers.org
Tue Oct 2 09:50:36 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 346 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181002/048f667d/attachment.bin>
-------------- next part --------------
From 99bb3fa8e8d064145ff4ab8a05cc1389927c0125 Mon Sep 17 00:00:00 2001
From: 2xsec <dh48.jeong at samsung.com>
Date: Tue, 2 Oct 2018 18:49:16 +0900
Subject: [PATCH] cgroups: remove unnecessary line

Signed-off-by: 2xsec <dh48.jeong at samsung.com>
---
 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;
 }
 


More information about the lxc-devel mailing list