mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 03:40:08 +00:00
12 lines
394 B
Diff
12 lines
394 B
Diff
--- a/src/libraries/physfs/physfs_platform_unix.c
|
|
+++ b/src/libraries/physfs/physfs_platform_unix.c
|
|
@@ -101,7 +101,7 @@
|
|
FILE *mounts = NULL;
|
|
struct mntent *ent = NULL;
|
|
|
|
- mounts = setmntent("/etc/mtab", "r");
|
|
+ mounts = setmntent("@TERMUX_PREFIX@/etc/mtab", "r");
|
|
BAIL_IF(mounts == NULL, PHYSFS_ERR_IO, /*return void*/);
|
|
|
|
while ( (ent = getmntent(mounts)) != NULL )
|