termux-packages/root-packages/libfuse3/printcap.c.patch

12 lines
328 B
Diff

--- a/example/printcap.c
+++ b/example/printcap.c
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
char *mountpoint;
int ret = -1;
- mountpoint = strdup("/tmp/fuse_printcap_XXXXXX");
+ mountpoint = strdup("@TERMUX_PREFIX@/tmp/fuse_printcap_XXXXXX");
if(mkdtemp(mountpoint) == NULL) {
perror("mkdtemp");
return 1;