typo
This commit is contained in:
parent
268c2e87c9
commit
0f76cdb3ba
@ -165,7 +165,7 @@ ReturnValue_t HostFilesystem::truncateFile(FilesystemParams params) {
|
|||||||
if (not filesystem::exists(path, e)) {
|
if (not filesystem::exists(path, e)) {
|
||||||
return FILE_DOES_NOT_EXIST;
|
return FILE_DOES_NOT_EXIST;
|
||||||
}
|
}
|
||||||
// Specify truncaion flug explicitely.
|
// Specify truncation flug explicitely.
|
||||||
ofstream of(path, std::ios::out | std::ios::trunc);
|
ofstream of(path, std::ios::out | std::ios::trunc);
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user