Commit 6c4716fb authored by Marvin Scholz's avatar Marvin Scholz

mmc_device_darwin: Fix call to device_close

parent 63015ca6
......@@ -419,7 +419,7 @@ MMCDEV *device_open(const char *path)
rc = mmc_open_iokit (path, dev);
if (0 != rc) {
device_close (dev);
device_close (&dev);
return NULL;
}
......
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