summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libddekit/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/printf.c b/libddekit/printf.c
index c4a8b718e..bb5d0accc 100644
--- a/libddekit/printf.c
+++ b/libddekit/printf.c
@@ -78,7 +78,7 @@ int log_init ()
output = stderr;
}
else {
- char template[] = "/var/log/dde_log.XXXXXX";
+ char template[] = "/var/run/dde_log.XXXXXX";
int ret = mkstemp (template);
if (ret < 0) {
error (0, errno, "mkstemp");