Commit 0222727f authored by Petr Baudis's avatar Petr Baudis
Browse files

cgroup_get_mem_limit(): -FIXME, value is unsigned

parent a0bae15f
......@@ -122,7 +122,7 @@ cgroup_get_mem_limit(const char *chier, const char *cgroup)
return -1;
}
size_t nlimit = 0;
fscanf(limit, "%zu", &nlimit); /* FIXME is this really unsigned? */
fscanf(limit, "%zu", &nlimit);
fclose(limit);
return nlimit;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment