--- src/modules/login.c.orig	2015-01-15 12:35:26.000000000 +1100
+++ src/modules/login.c	2019-11-12 06:18:09.000000000 +1100
@@ -387,7 +387,7 @@ static void last_strings(char *str)
 #ifdef HAVE_GETLASTLOGX
 static char *lastlogin(const struct passwd *pw, char *tf)
 {
-    struct lastlogx *last =  getlastlogx(_PATH_LASTLOGX, pw->pw_uid, NULL);
+    struct lastlogx *last =  getlastlogx(pw->pw_uid, NULL);
     static char buf[LINE_MAX];
 
     if (!last)
