Fix loop_info/loop_info64 impedance mismatch
LOOP_GET_STATUS64 isn't useful here since the data contained within
isn't actually checked, so stick with the regular LOOP_GET_STATUS here
to match the struct loop_info we're using.
Change-Id: I4f9ff06fa44d4ae3aed046d423054554f9cf450b
diff --git a/Loop.cpp b/Loop.cpp
index 2209f1a..98015e2 100644
--- a/Loop.cpp
+++ b/Loop.cpp
@@ -149,7 +149,7 @@
return -1;
}
- rc = ioctl(fd, LOOP_GET_STATUS64, &li);
+ rc = ioctl(fd, LOOP_GET_STATUS, &li);
if (rc < 0 && errno == ENXIO)
break;