aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2009-11-12 14:40:14 +0100
committerDaniel Lezcano <dlezcano@fr.ibm.com>2009-11-12 14:40:14 +0100
commitadaeaa992a6a7a6af923416a1c36b63858055533 (patch)
tree616077cbe9a6553e2ef60edbbf3697a49920064f
parentRemove the usage of a lock file (diff)
downloadlxc-adaeaa992a6a7a6af923416a1c36b63858055533.tar.gz
lxc-adaeaa992a6a7a6af923416a1c36b63858055533.tar.bz2
lxc-adaeaa992a6a7a6af923416a1c36b63858055533.zip
Fix abstract af_unix socket name
Fix a typo making the abstract af_unix socket name to be wrong. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--src/lxc/commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lxc/commands.c b/src/lxc/commands.c
index 864cdb3..e0ca348 100644
--- a/src/lxc/commands.c
+++ b/src/lxc/commands.c
@@ -35,6 +35,7 @@
#include "commands.h"
#include "mainloop.h"
#include "af_unix.h"
+#include "config.h"
/*
* This file provides the different functions to have the client
@@ -52,7 +53,7 @@
lxc_log_define(lxc_commands, lxc);
-#define abstractname "LXCPATH/%s/command"
+#define abstractname LXCPATH "/%s/command"
static int receive_answer(int sock, struct lxc_answer *answer)
{