1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

UserspaceEmulator: Use only the base name for the profile name

This commit is contained in:
Hendiadyoin1 2021-09-22 16:22:14 +02:00 committed by Brian Gianforcaro
parent 2494ce2bab
commit 045461b7cb

View file

@ -56,7 +56,7 @@ int main(int argc, char** argv, char** env)
}
if (dump_profile && profile_dump_path.is_empty())
profile_dump_path = String::formatted("{}.{}.profile", executable_path, getpid());
profile_dump_path = String::formatted("{}.{}.profile", LexicalPath(executable_path).basename(), getpid());
OwnPtr<OutputFileStream> profile_stream;
if (dump_profile) {