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

12 lines
328 B
Diff
Raw Normal View History

2020-08-11 19:47:48 +02:00
--- 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");
2020-08-11 19:47:48 +02:00
if(mkdtemp(mountpoint) == NULL) {
perror("mkdtemp");
return 1;