]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Cleanup: Clarify the number meanings of string length.
authorKen'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Thu, 25 Jun 2009 00:12:00 +0000 (09:12 +0900)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Mon, 29 Jun 2009 11:23:21 +0000 (16:53 +0530)
commit9e9741892aeffc3ec7974af259c258821b073e8a
tree50d39b11d6034cfa162bd40131f423fe2ab663bf
parent81dda1ea06a62fb2db52af5c026ae196a2570702
Cleanup: Clarify the number meanings of string length.

Hi,

This patch clarifies the number meanings of string length in the function
cgroup_get_uid_gid_from_procfs(). This is recreated based on Igawa-san's
patch for the latest code.

* Reference
  Igawa-san's patch
  http://sourceforge.net/mailarchive/message.php?msg_name=20090515.085922.109268324.igawa%40mxs.nes.nec.co.jp

Signed-off-by: Masayuki Igawa <igawa@mxs.nes.nec.co.jp>
Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
src/api.c