]> git.proxmox.com Git - mirror_lxc.git/commitdiff
attach|unshare: fix the wrong comment
author0x0916 <w@laoqinren.net>
Mon, 17 Apr 2017 14:57:41 +0000 (22:57 +0800)
committer0x0916 <w@laoqinren.net>
Mon, 17 Apr 2017 15:02:33 +0000 (23:02 +0800)
Signed-off-by: 0x0916 <w@laoqinren.net>
src/lxc/tools/lxc_attach.c
src/lxc/tools/lxc_unshare.c

index ca66201c2c6a205cbc348bbda6a8e8e2790b3668..c5e319fdfa14afca776c6760809fdc91004834dd 100644 (file)
@@ -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")))
index 82c82448a1b4c45405dd528decb5623febcca5a3..a0f943fd557f70544fba8c78bda82620b0831ae5 100644 (file)
@@ -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")))