--- a/src/e_cvslog.cpp
+++ b/src/e_cvslog.cpp
@@ -30,7 +30,7 @@
     // Create filename for message
 #ifdef UNIX
     // Use this in Unix - it says more to user
-    sprintf (msgFile,"/tmp/fte%d-cvs-msg", (int)getpid());
+    sprintf (msgFile,"@TERMUX_PREFIX@/tmp/fte%d-cvs-msg", (int)getpid());
 #else
     tmpnam (msgFile);
 #endif
