summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-11-15 13:54:47 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-11-15 13:54:47 +0100
commit64b4c03ee79d5df053df7dabd33e88e0ebef1f20 (patch)
tree90a65e5e58e4fc9d6baff01c9abe3e82fccaa875 /cmdline
parent8cc74fb1f791935bea9afd767fddf78ecebd4740 (diff)
cmdline/apt-get.cc: create the mkdtemp dir in /tmp
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index cf4f1ab36..53def383d 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2819,7 +2819,7 @@ bool DoChangelog(CommandLine &CmdL)
if (verset.empty() == true)
return false;
- char *tmpdir = mkdtemp(strdup("apt-changelog-XXXXXX"));
+ char *tmpdir = mkdtemp(strdup("/tmp/apt-changelog-XXXXXX"));
if (tmpdir == NULL) {
return _error->Errno("mkdtemp", "mkdtemp failed");
}