aboutsummaryrefslogtreecommitdiff
path: root/libbutl/filesystem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/filesystem.cxx')
-rw-r--r--libbutl/filesystem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx
index 28412d6..bff251a 100644
--- a/libbutl/filesystem.cxx
+++ b/libbutl/filesystem.cxx
@@ -508,7 +508,7 @@ namespace butl
if (!dir)
throw_generic_error (ENOSYS, "file symlinks not supported");
- switch (try_rmdir (path_cast<dir_path> (link, io)))
+ switch (try_rmdir (path_cast<dir_path> (link), io))
{
case rmdir_status::success: return rmfile_status::success;
case rmdir_status::not_exist: return rmfile_status::not_exist;