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

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: Daniel Kang <kangliang...@gmail.com>
From b0a024d16c36aaca00fc535b0f63d4aaee4971a8 Mon Sep 17 00:00:00 2001
From: Daniel Kang <kangliang...@gmail.com>
Date: Wed, 12 Jul 2017 08:39:59 +0800
Subject: [PATCH] modify the error lib path

Signed-off-by: Daniel Kang <kangliang...@gmail.com>
---
 lxcfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxcfs.c b/lxcfs.c
index 62cfd35..cc361ca 100644
--- a/lxcfs.c
+++ b/lxcfs.c
@@ -90,9 +90,9 @@ static void do_reload(void)
 
 #ifdef LIBDIR
        /* LIBDIR: autoconf will setup this MACRO. Default value is $PREFIX/lib 
*/
-        snprintf(lxcfs_lib_path, PATH_MAX, "%s/lxcfs/liblxcfs.so", LIBDIR);
+        snprintf(lxcfs_lib_path, PATH_MAX, "%s/liblxcfs.so", LIBDIR);
 #else
-        snprintf(lxcfs_lib_path, PATH_MAX, "/usr/local/lib/lxcfs/liblxcfs.so");
+        snprintf(lxcfs_lib_path, PATH_MAX, "/usr/local/lib/liblxcfs.so");
 #endif
         dlopen_handle = dlopen(lxcfs_lib_path, RTLD_LAZY);
        if (!dlopen_handle) {
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to