From d7b7be0e74a441be27b14823cfe76cc9f34d93ee Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Apr 2018 18:21:39 +0200 Subject: Few bug fixes --- libbutl/filesystem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbutl/filesystem.cxx') 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 (link, io))) + switch (try_rmdir (path_cast (link), io)) { case rmdir_status::success: return rmfile_status::success; case rmdir_status::not_exist: return rmfile_status::not_exist; -- cgit v1.1