2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 20:05:41 +00:00

Change freezer to stick with the cgroup freezer fs API, replace "RUNNING" by "THAWED"

This commit is contained in:
dlezcano
2008-09-25 21:20:51 +00:00
parent ab192b72b6
commit 19df00c503

View File

@@ -35,7 +35,7 @@
static int freeze_unfreeze(const char *name, int freeze) static int freeze_unfreeze(const char *name, int freeze)
{ {
char freezer[MAXPATHLEN], *f = freeze?"FROZEN":"RUNNING"; char freezer[MAXPATHLEN], *f = freeze?"FROZEN":"THAWED";
int fd, ret = -1; int fd, ret = -1;
snprintf(freezer, MAXPATHLEN, snprintf(freezer, MAXPATHLEN,