there is a typo in cgroup_read_value_begin return value, this patch fixes it
---------------- EXAMPLE: OLD: $ cgget -g devices //CBSFxx/Zcz6 //CBSFxx/Zcz6: devices.list: a *:* rwm devices.deny: a *:* rwm devices.allow: a *:* rwm $ NEW: $ cgget -g devices //CBSFxx/Zcz6 //CBSFxx/Zcz6: devices.list: a *:* rwm devices.deny: devices.allow: $ Signed-off-by: Ivana Hutarova Varekova <[email protected]> --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/src/api.c b/src/api.c index 6cd0185..d8f6766 100644 --- a/src/api.c +++ b/src/api.c @@ -2895,7 +2895,7 @@ int cgroup_read_value_begin(const char *controller, const char *path, ret = ECGEOF; *handle = fp; - return 0; + return ret; } ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
