X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Fsupport_aux.c;h=0be48592be88099fe6009644d63f5c471b0a9a8f;hb=d1a9c17fc77be2e8f200b7be68c4f70c10e73f89;hp=03bf2e9ff1a910168f18d00dad4c7d19d4922624;hpb=74c9fe2438225d551687f06f51e86925f8e8c13c;p=nestedvm.git 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