]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix home dir resolution
authorSasha Levin <levinsasha928@gmail.com>
Sun, 3 Jul 2011 15:38:06 +0000 (18:38 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 3 Jul 2011 18:07:37 +0000 (21:07 +0300)
commitacbb00f1285c9d893df5335488108c12018d30e7
tree61060f492117e6d7523215fc0bad6ff24ff63d97
parent43d4ce97463aaa0a8d65c9ff5f6e7ab7c310e828
kvm tools: Fix home dir resolution

Previous code didn't properly resolve home directory.
Resolve user's home dir using the $HOME enviroment variable.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm.c