From 0222727f8b3c61e9f3268ee7ec4638719a30b77e Mon Sep 17 00:00:00 2001
From: Petr Baudis <pasky@ucw.cz>
Date: Wed, 7 Mar 2012 17:06:37 +0100
Subject: [PATCH] cgroup_get_mem_limit(): -FIXME, value is unsigned

---
 cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgroup.c b/cgroup.c
index defeb1d..6fe4bdb 100644
--- a/cgroup.c
+++ b/cgroup.c
@@ -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;
 }
-- 
GitLab