Mercurial > archived > louis > perso > liblxcstats
diff container.c @ 3:2cb8a6cbe468
cpuacct: convert per cpu usage from nanoseconds to jiffies
author | Louis Opter <louis@dotcloud.com> |
---|---|
date | Fri, 31 Dec 2010 20:04:25 +0100 |
parents | 6ce4443e7545 |
children | 8339ab15527d |
line wrap: on
line diff
--- a/container.c Thu Dec 30 19:01:47 2010 +0100 +++ b/container.c Fri Dec 31 20:04:25 2010 +0100 @@ -5,7 +5,6 @@ #include <dirent.h> #include <err.h> #include <errno.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> @@ -27,8 +26,6 @@ assert(ct); assert(name); - printf("new container %s\n", name); - c = calloc(1, sizeof(*c)); if (!c) return (NULL);