diff options
-rw-r--r-- | cmdline/apt-get.cc | 2 |
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"); } |