[TOOLS] changes, caused by previous patch
[mirror/winof/.git] / tools / mtcr / user / mtcr.c
index d01463f..37df9da 100644 (file)
@@ -702,10 +702,8 @@ MTCR_API int mclose(mfile *mf)
             ibal_access(mfi->h_ca, 0x0, &stub, 4, FW_CLOSE_IF );\r
         } else if (mf->tp = MST_PCI) {\r
             if (mfi->cr_map.size) {\r
-                unmap_crspace unmap;\r
                 \r
-                unmap.va  = mfi->cr_map.va;\r
-                if (ibal_access(mfi->h_ca, 0x0, &unmap, sizeof(unmap), FW_UNMAP_CRSPACE ) != IB_SUCCESS) {\r
+                if (ibal_access(mfi->h_ca, 0x0, NULL, 0, FW_UNMAP_CRSPACE ) != IB_SUCCESS) {\r
                     DPRINT1(("Unmap crspace failed"));\r
                 }         \r
             }\r