include/logger.h: introduce vzctl_err() wrapper

The idea is to replace

	if (smth) {
		logger(-1, errno, "Smth bad");
		return E_BAD;
	}
with

	if (smth)
		return vzctl_err(E_BAD, errno, "Smth bad");

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed