aboutsummaryrefslogtreecommitdiff
path: root/atf-run/fs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atf-run/fs.cpp')
-rw-r--r--atf-run/fs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/atf-run/fs.cpp b/atf-run/fs.cpp
index b8931e588730..e84a90da73a3 100644
--- a/atf-run/fs.cpp
+++ b/atf-run/fs.cpp
@@ -44,6 +44,7 @@ extern "C" {
#include <cstdlib>
#include <cstring>
+#include "atf-c++/detail/auto_array.hpp"
#include "atf-c++/detail/process.hpp"
#include "atf-c++/detail/sanity.hpp"
@@ -200,7 +201,7 @@ retry_unmount:
impl::temp_dir::temp_dir(const atf::fs::path& p)
{
- atf::utils::auto_array< char > buf(new char[p.str().length() + 1]);
+ atf::auto_array< char > buf(new char[p.str().length() + 1]);
std::strcpy(buf.get(), p.c_str());
if (::mkdtemp(buf.get()) == NULL)
throw system_error(IMPL_NAME "::temp_dir::temp_dir(" +