vzctl create: use proper version of basename()

libgen.h supplies us with a bad POSIX version of basename(),
as it is outlined in basename(3) man page, while string.h
(of GNU libc) gives us a nice one. Let's use GNU basename().

This is a fix to commit 33dae1f.

Cc: Slava Dubrovskiy <dubrsl@altlinux.ru>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed