Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mareš
compctl-kam
Commits
0222727f
Commit
0222727f
authored
Mar 07, 2012
by
Petr Baudis
Browse files
cgroup_get_mem_limit(): -FIXME, value is unsigned
parent
a0bae15f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cgroup.c
View file @
0222727f
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment