summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-06-30 14:29:12 +0200
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-07-01 20:34:49 +0530
commit94a0ad95bc19f181beadef7cf7c4dade556eba7f (patch)
treee694e396a985ffd442597b220d849f79eb0f2a73 /include
parent8a96474be4f14482d171645ee9710b3ac318c14a (diff)
downloadlibcg-94a0ad95bc19f181beadef7cf7c4dade556eba7f.tar.gz
libcg-94a0ad95bc19f181beadef7cf7c4dade556eba7f.tar.xz
libcg-94a0ad95bc19f181beadef7cf7c4dade556eba7f.zip
Cleanup: find better name for CGRULE_CGRED_TEMP_FILE
Rename CGRULE_CGRED_TEMP_FILE to CGRULE_CGRED_SOCKET_PATH to better describe the macro usage - it's not a temporary file, it's a socket. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index 953703b..8a86cb7 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -53,7 +53,7 @@ __BEGIN_DECLS
#define CGRULE_WILD (-2)
/* FIXME: Change the temporary file to configurable one. */
-#define CGRULE_CGRED_TEMP_FILE "/tmp/cgred"
+#define CGRULE_CGRED_SOCKET_PATH "/tmp/cgred"
#define CGRULE_SUCCESS_STORE_PID "SUCCESS_STORE_PID"
/* Flags for cgroup_change_cgroup_uid_gid() */