commit | 5cd32f73d8b5e6db60d397d102e5b1b193a76c77 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 29 20:41:28 2015 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Oct 29 20:41:28 2015 +0000 |
tree | 2e53ddc9a281151d6b823cf004977f3fbd1f6f1d | |
parent | d3c7060ba53d87c58103b1776815fea9d29e39cc [diff] | |
parent | 0eaad8ce8ceaa4b730b0be8c149f389647fbdab0 [diff] |
Merge "Fix ioctl parameter" am: 0eaad8ce8c * commit '0eaad8ce8ceaa4b730b0be8c149f389647fbdab0': Fix ioctl parameter
diff --git a/Utils.cpp b/Utils.cpp index 51ef4c4..2dd9ae8 100644 --- a/Utils.cpp +++ b/Utils.cpp
@@ -504,7 +504,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; }