logger(): don't spoil errno

Save and restore errno, so using logger() won't change it.

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