summaryrefslogtreecommitdiff
path: root/Userland/Utilities/mv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/mv.cpp')
-rw-r--r--Userland/Utilities/mv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/mv.cpp b/Userland/Utilities/mv.cpp
index ba9ce07ea9..6962a6a3e7 100644
--- a/Userland/Utilities/mv.cpp
+++ b/Userland/Utilities/mv.cpp
@@ -79,14 +79,14 @@ int main(int argc, char** argv)
}
rc = unlink(old_path);
if (rc < 0)
- fprintf(stderr, "mv: unlink '%s': %s\n", old_path, strerror(errno));
+ warnln("mv: unlink '{}': {}", old_path, strerror(errno));
} else {
warnln("mv: cannot move '{}' : {}", old_path, strerror(errno));
}
}
if (verbose && rc == 0)
- printf("renamed '%s' -> '%s'\n", old_path, new_path);
+ outln("renamed '{}' -> '{}'", old_path, new_path);
}
return 0;