diff options
Diffstat (limited to 'Userland/Utilities/cp.cpp')
-rw-r--r-- | Userland/Utilities/cp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/cp.cpp b/Userland/Utilities/cp.cpp index b27b033476..b5b1cfa668 100644 --- a/Userland/Utilities/cp.cpp +++ b/Userland/Utilities/cp.cpp @@ -61,7 +61,7 @@ int main(int argc, char** argv) if (result.error().tried_recursing) warnln("cp: -R not specified; omitting directory '{}'", source); else - warnln("cp: unable to copy '{}' to '{}': {}", source, destination_path, result.error().error_code); + warnln("cp: unable to copy '{}' to '{}': {}", source, destination_path, static_cast<Error const&>(result.error())); return 1; } |