The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1512

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: 0x0916 <[email protected]>
From 281f36af6d600daac8f46cf58af36bae9d4457c7 Mon Sep 17 00:00:00 2001
From: 0x0916 <[email protected]>
Date: Mon, 17 Apr 2017 22:57:41 +0800
Subject: [PATCH] attach|unshare: fix the wrong comment

Signed-off-by: 0x0916 <[email protected]>
---
 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")))
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to