From fee67d807bc36ff2cacb77286156798fd70e3f0c Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 13 Apr 2025 08:33:40 -0400 Subject: linux shim: implement BLK_OPEN_CREAT this allows O_CREAT to be passed through, for the new image creation tool. Signed-off-by: Kent Overstreet --- c_src/tools-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c_src/tools-util.h') diff --git a/c_src/tools-util.h b/c_src/tools-util.h index d3d6b14b..27652b62 100644 --- a/c_src/tools-util.h +++ b/c_src/tools-util.h @@ -98,7 +98,7 @@ ssize_t read_string_list_or_die(const char *, const char * const[], u64 get_size(int); unsigned get_blocksize(int); struct dev_opts; -int open_for_format(struct dev_opts *, bool); +int open_for_format(struct dev_opts *, blk_mode_t, bool); bool ask_yn(void); -- cgit v1.2.3