]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ArmPkg/Semihostlib: Rename semi-hosting open option
[mirror_edk2.git] / ArmPkg / Filesystem / SemihostFs / Arm / SemihostFs.c
index 3d6e72aa5a7ff5a3b7304d6ac99e0b30ef5308f4..b865143c74be6294d4af57263d4f8adca6a12565 100644 (file)
@@ -204,7 +204,7 @@ FileOpen (
 \r
     // Add the creation flag if necessary\r
     if (OpenMode & EFI_FILE_MODE_CREATE) {\r
-      SemihostMode |= SEMIHOST_FILE_MODE_CREATE;\r
+      SemihostMode |= SEMIHOST_FILE_MODE_UPDATE;\r
     }\r
 \r
     // Call the semihosting interface to open the file.\r