summaryrefslogtreecommitdiff
path: root/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c')
-rw-r--r--ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
index 3d6e72aa5a..b865143c74 100644
--- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
+++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
@@ -204,7 +204,7 @@ FileOpen (
// Add the creation flag if necessary
if (OpenMode & EFI_FILE_MODE_CREATE) {
- SemihostMode |= SEMIHOST_FILE_MODE_CREATE;
+ SemihostMode |= SEMIHOST_FILE_MODE_UPDATE;
}
// Call the semihosting interface to open the file.