0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-21 13:59:37 +00:00
Files
termux-packages/packages/screen/os.h.patch
2024-12-22 03:29:59 +02:00

14 lines
360 B
Diff

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