diff options
author | Linus Groh <mail@linusgroh.de> | 2020-05-06 18:18:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-06 19:28:59 +0200 |
commit | 9dbab2d05e2893584dc4f9b42741fc0597718966 (patch) | |
tree | 1627952ac73604757a6791d1de0437bd954a2791 /Userland/mount.cpp | |
parent | 107ca2e4ba8f88f39f58c4a92d238ea642aa0d39 (diff) | |
download | serenity-9dbab2d05e2893584dc4f9b42741fc0597718966.zip |
Misc: Replace "String(string_view)" with "string_view.to_string()"
StringView::to_string() was added in 917ccb1 but not actually used
anywhere yet.
Diffstat (limited to 'Userland/mount.cpp')
-rw-r--r-- | Userland/mount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/mount.cpp b/Userland/mount.cpp index 195d744056..c3b3e8c0f7 100644 --- a/Userland/mount.cpp +++ b/Userland/mount.cpp @@ -51,7 +51,7 @@ int parse_options(const StringView& options) else if (part == "bind") flags |= MS_BIND; else - fprintf(stderr, "Ignoring invalid option: %s\n", String(part).characters()); + fprintf(stderr, "Ignoring invalid option: %s\n", part.to_string().characters()); } return flags; } |