commit | 8492b9e912267d146ac5433c7cc2b874700c9a85 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Nov 06 18:37:26 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat Nov 24 04:55:14 2012 +0400 |
tree | c027b947c2a4e924a89872e4ccb7e6c922beae4a | |
parent | eeee4bb9d3e3f2f31931e1a8ff53f1b03929b653 [diff] |
configure_sysctl(): generalize as write_val() To be used by next patch. While at it, check write() return value and return error if write() fails. Signed-off-by: Kir Kolyshkin <kir@openvz.org>