Skip to content

Commit 2170c02

Browse files
committed
wasmtime: remove e flag from fopen
Signed-off-by: Maximilian Hüter <[email protected]>
1 parent 49f0f42 commit 2170c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcrun/handlers/wasmtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ libwasmtime_exec (void *cookie, libcrun_container_t *container arg_unused,
8888

8989
wasm_byte_vec_t wasm;
9090
// Load and parse container entrypoint
91-
FILE *file = fopen (pathname, "rbe");
91+
FILE *file = fopen (pathname, "rb");
9292
if (! file)
9393
error (EXIT_FAILURE, 0, "error loading entrypoint");
9494
if (fseek (file, 0L, SEEK_END))

0 commit comments

Comments
 (0)