Change-Id: I922c8ae77056db81bc5152346299a07a34c527d2
@ -504,7 +504,7 @@ status_t WipeBlockDevice(const std::string& path) {
goto done;
}
if ((ioctl(fd, BLKGETSIZE, nr_sec)) == -1) {
if ((ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) {
PLOG(ERROR) << "Failed to determine size of " << path;