commit | 8185d3d8ba3dec0f26ade8cd4764d5f09cc00bcc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 29 20:44:35 2015 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Oct 29 20:44:35 2015 +0000 |
tree | 5ccc47b9354d15cc40f2c4ea520c7f47372fe53c | |
parent | aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b [diff] | |
parent | 5cd32f73d8b5e6db60d397d102e5b1b193a76c77 [diff] |
Merge "Fix ioctl parameter" am: 0eaad8ce8c am: 5cd32f73d8 * commit '5cd32f73d8b5e6db60d397d102e5b1b193a76c77': Fix ioctl parameter
diff --git a/Utils.cpp b/Utils.cpp index 279c990..d4618af 100644 --- a/Utils.cpp +++ b/Utils.cpp
@@ -526,7 +526,7 @@ goto done; } - if ((ioctl(fd, BLKGETSIZE, nr_sec)) == -1) { + if ((ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) { PLOG(ERROR) << "Failed to determine size of " << path; goto done; }