diff --git a/helpers.c b/helpers.c index a33340fc..061b2d76 100644 --- a/helpers.c +++ b/helpers.c @@ -216,7 +216,7 @@ void logit(int prio, const char *fmt, ...) int getuser(char *username, char **home) { #ifdef ENABLE_STATIC - home = NULL; /* XXX: Fixme */ + *home = "/"; /* XXX: Fixme */ return fgetint("/etc/passwd", "x:\n", username); #else struct passwd *usr;