diff options
| author | Elliott Hughes <enh@google.com> | 2015-10-29 20:44:35 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2015-10-29 20:44:35 +0000 |
| commit | 8185d3d8ba3dec0f26ade8cd4764d5f09cc00bcc (patch) | |
| tree | 5ccc47b9354d15cc40f2c4ea520c7f47372fe53c /Utils.cpp | |
| parent | aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b (diff) | |
| parent | 5cd32f73d8b5e6db60d397d102e5b1b193a76c77 (diff) | |
Merge "Fix ioctl parameter" am: 0eaad8ce8c
am: 5cd32f73d8
* commit '5cd32f73d8b5e6db60d397d102e5b1b193a76c77':
Fix ioctl parameter
Diffstat (limited to 'Utils.cpp')
| -rw-r--r-- | Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -526,7 +526,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; goto done; } |
