[lxc-devel] [lxc/master] attach|unshare: fix the wrong comment
0x0916 on Github
lxc-bot at linuxcontainers.org
Mon Apr 17 15:04:18 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 340 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170417/2f3dc9cd/attachment.bin>
-------------- next part --------------
From 281f36af6d600daac8f46cf58af36bae9d4457c7 Mon Sep 17 00:00:00 2001
From: 0x0916 <w at laoqinren.net>
Date: Mon, 17 Apr 2017 22:57:41 +0800
Subject: [PATCH] attach|unshare: fix the wrong comment
Signed-off-by: 0x0916 <w at laoqinren.net>
---
src/lxc/tools/lxc_attach.c | 2 +-
src/lxc/tools/lxc_unshare.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lxc/tools/lxc_attach.c b/src/lxc/tools/lxc_attach.c
index ca66201..c5e319f 100644
--- a/src/lxc/tools/lxc_attach.c
+++ b/src/lxc/tools/lxc_attach.c
@@ -142,7 +142,7 @@ static int my_parser(struct lxc_arguments* args, int c, char* arg)
*
* then we memmove()
*
- * dest: del + 1 == ONT|PID
+ * dest: del + 1 == OUNT|PID
* src: del + 3 == NT|PID
*/
while ((del = strstr(arg, "MOUNT")))
diff --git a/src/lxc/tools/lxc_unshare.c b/src/lxc/tools/lxc_unshare.c
index 82c8244..a0f943f 100644
--- a/src/lxc/tools/lxc_unshare.c
+++ b/src/lxc/tools/lxc_unshare.c
@@ -225,7 +225,7 @@ int main(int argc, char *argv[])
*
* then we memmove()
*
- * dest: del + 1 == ONT|PID
+ * dest: del + 1 == OUNT|PID
* src: del + 3 == NT|PID
*/
while ((del = strstr(namespaces, "MOUNT")))
More information about the lxc-devel
mailing list