X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Fsupport_aux.c;h=0be48592be88099fe6009644d63f5c471b0a9a8f;hp=03bf2e9ff1a910168f18d00dad4c7d19d4922624;hb=824d572b3f496d92deb0512412c000899995f186;hpb=e31fa57da728fa1c76760af23e62bd312a50e4df diff --git a/src/org/ibex/nestedvm/support_aux.c b/src/org/ibex/nestedvm/support_aux.c index 03bf2e9..0be4859 100644 --- a/src/org/ibex/nestedvm/support_aux.c +++ b/src/org/ibex/nestedvm/support_aux.c @@ -521,6 +521,11 @@ int vasprintf(char **ret, const char *fmt, va_list ap) { } } +// FIXME: This needs to be in a header +char *getlogin() { + return getenv("USER"); +} + /* * Other People's Code