diff --git a/src/os.h b/src/os.h index b350e43..26b075d 100644 --- a/os.h +++ b/os.h @@ -92,7 +92,7 @@ typedef char* slot_t; /* used internally in utmp.c */ # ifdef _PATH_UTMPX # define UTMPXFILE _PATH_UTMPX # else -# define UTMPXFILE "/etc/utmpx" +# define UTMPXFILE "@TERMUX_PREFIX@/etc/utmpx" # endif /* _PATH_UTMPX */ # endif # endif