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

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: Christian Brauner <christian.brau...@ubuntu.com>
From 2b5982a9d88bc6916285d70eb2eecfcb1102f011 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Wed, 5 Aug 2020 16:37:06 +0200
Subject: [PATCH] lxc-binding: use correct version check in go_lxc_devpts_fd()

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 lxc-binding.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxc-binding.c b/lxc-binding.c
index 310e415..cdba32b 100644
--- a/lxc-binding.c
+++ b/lxc-binding.c
@@ -68,7 +68,7 @@ int go_lxc_seccomp_notify_fd(struct lxc_container *c) {
 }
 
 int go_lxc_devpts_fd(struct lxc_container *c) {
-#if VERSION_AT_LEAST(4, 0, 4)
+#if VERSION_AT_LEAST(4, 0, 5)
        return c->devpts_fd(c);
 #else
        return ret_errno(ENOSYS);
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to