aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-03 20:10:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-03 20:10:48 +0000
commit0807dedf5e633eb31d42b978eb34151009806e35 (patch)
tree73f7e403e0241152896ca969128436d0671cbe03
parente03bcaf459f99e0f789fc7d2a588c3ec6ebc8243 (diff)
downloadpaludis-0807dedf5e633eb31d42b978eb34151009806e35.tar.gz
paludis-0807dedf5e633eb31d42b978eb34151009806e35.tar.xz
three args to open
-rw-r--r--src/output/console_install_task.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index ad0e4ee..f824ab6 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -1813,7 +1813,7 @@ ConsoleInstallTask::show_resume_command(const std::string & resume_command_templ
std::string file_name(resume_command_template);
int fd;
if (std::string::npos == file_name.find("XXXXXX"))
- fd = open(file_name.c_str(), O_WRONLY | O_CREAT | O_TRUNC);
+ fd = open(file_name.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644);
else
{
char * resume_template = strdup(file_name.c_str());