commit | d81248f0527e7f2e8d1081200bd29a9a43741688 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Oct 22 16:31:03 2009 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Oct 22 16:31:03 2009 +0400 |
tree | 8eb0207cfb4563473b17a23f99964f45ba9489a1 | |
parent | ce517b38045155f06ba2607b3c9f248b5c1ee68b [diff] |
Fix get_pagesize and its usage Bug: get_pagesize() returns -11 in case of error, while parse() from config.c checks for -1. Fix both: return -1, check for < 0. Signed-off-by: Kir Kolyshkin <kir@openvz.org>