mount_utils: initialize fd

parent 362ad2f2
...@@ -195,7 +195,7 @@ __hidden extern int fd_bind_mount(int dfd_from, const char *path_from, ...@@ -195,7 +195,7 @@ __hidden extern int fd_bind_mount(int dfd_from, const char *path_from,
*/ */
static inline bool new_mount_api(void) static inline bool new_mount_api(void)
{ {
__do_close int fd; __do_close int fd = -EBADF;
static int supported = -1; static int supported = -1;
if (supported == -1) { if (supported == -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment