Reference fuchsia.io/OpenFlags

$ git grep -l 'wire::kOpenFlag' | xargs sed -E -i 's/wire::kOpenFlag/wire::OpenFlags::k/g'
$ git grep -l 'wire::kOpenRight' | xargs sed -E -i 's/wire::kOpenRight/wire::OpenFlags::kRight/g'

Change-Id: Ia9350625b032412d32e3bbbba1bd5971e9d06d47
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/663785
Reviewed-by: Adam Barth <abarth@google.com>
diff --git a/src/util/tests/os_dirent/os_dirent_test.cpp b/src/util/tests/os_dirent/os_dirent_test.cpp
index 1bd1da3..fca2b0e 100644
--- a/src/util/tests/os_dirent/os_dirent_test.cpp
+++ b/src/util/tests/os_dirent/os_dirent_test.cpp
@@ -59,8 +59,8 @@
       zx_status_t status = zx::channel::create(0, &channel0, &channel1);
 
       status = fdio_open(files[i].ptr,
-                         static_cast<uint32_t>(fuchsia_io::wire::kOpenFlagCreate |
-                                               fuchsia_io::wire::kOpenRightWritable),
+                         static_cast<uint32_t>(fuchsia_io::wire::OpenFlags::kCreate |
+                                               fuchsia_io::wire::OpenFlags::kRightWritable),
                          channel0.release());
       if (status != ZX_OK) {
          printf("fdio_open(%s) failed: %d\n", files[i].ptr, status);