feat: better rtc framework which aims to remove single rtc restrictions.
[lunaix-os.git] / lunaix-os / kernel / fs / probe_boot.c
index 69af61e5ea65aff0371225140f1e2cd0c99f98a1..4f38c6ac90cc2d93c250c7171db3e708de5e8e19 100644 (file)
@@ -21,7 +21,7 @@ probe_boot_medium()
     llist_for_each(pos, n, &block_cat->children, siblings)
     {
         int errno =
     llist_for_each(pos, n, &block_cat->children, siblings)
     {
         int errno =
-          pos->read(pos, (void*)volp, ISO9660_READ_OFF, ISO9660_BLKSZ);
+          pos->ops.read(pos, (void*)volp, ISO9660_READ_OFF, ISO9660_BLKSZ);
         if (errno < 0) {
             kprintf(KWARN "can not probe %x:%s (%d)\n",
                     pos->dev_id,
         if (errno < 0) {
             kprintf(KWARN "can not probe %x:%s (%d)\n",
                     pos->dev_id,