mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 06:00:10 +00:00
12 lines
332 B
Diff
12 lines
332 B
Diff
--- a/src/swtpm_setup/swtpm.c
|
|
+++ b/src/swtpm_setup/swtpm.c
|
|
@@ -70,7 +70,7 @@
|
|
unsigned ctr;
|
|
int pidfile_fd;
|
|
int ret = 1;
|
|
- char pidfile[] = "/tmp/.swtpm_setup.pidfile.XXXXXX";
|
|
+ char pidfile[] = "@TERMUX_PREFIX@/tmp/.swtpm_setup.pidfile.XXXXXX";
|
|
|
|
pidfile_fd = mkstemp(pidfile);
|
|
if (pidfile_fd < 0) {
|