]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix abstract af_unix socket name
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 12 Nov 2009 13:40:14 +0000 (14:40 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 12 Nov 2009 13:40:14 +0000 (14:40 +0100)
Fix a typo making the abstract af_unix socket name to be wrong.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/commands.c

index 864cdb35f83dedebf585150bd5deafec04d6bb04..e0ca34872bbe5eb2a9216928069d0817a22aec3c 100644 (file)
@@ -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)
 {