[lxc-devel] [lxc/master] openpty: fix faulty rename

brauner on Github lxc-bot at linuxcontainers.org
Sun Jul 5 21:44:27 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200705/bb7c1be5/attachment.bin>
-------------- next part --------------
From 20a24030b652c7e17c32485d92c0cabdf5d569f3 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Sun, 5 Jul 2020 23:42:31 +0200
Subject: [PATCH] openpty: fix faulty rename

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/include/openpty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/openpty.c b/src/include/openpty.c
index 37aa0fbbeb..718171aa85 100644
--- a/src/include/openpty.c
+++ b/src/include/openpty.c
@@ -32,7 +32,7 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 
-#define _PATH_DEVPTMX "/dev/ptx"
+#define _PATH_DEVPTMX "/dev/ptmx"
 
 int openpty (int *aptx, int *apts, char *name, struct termios *termp,
        struct winsize *winp)


More information about the lxc-devel mailing list