commit | 16c57ea7219f7da9ae4df53a9504623905b9c6d3 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Feb 27 13:58:25 2013 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Feb 27 14:15:29 2013 -0800 |
tree | 7e62a04ff5fe1fd54fc36712e491fdf121a96e43 | |
parent | 571b8b894030653805689fdd6e4b91f54a75598b [diff] |
ct_setcpus(): fix a comparison Noticed the following warning when compiling vzctl for 32-bit: hooks_ct.c: In function 'ct_setcpus': hooks_ct.c:373: warning: comparison is always true due to limited range of data type Apparently we have unsigned long max_lim = ~0UL; so the comparison should be with ~0UL as well, not with ~0ULL as it was. Introduced by commit f802781. Cc: Glauber Costa <glommer@openvz.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>