summaryrefslogtreecommitdiff
path: root/VoldUtil.cpp
diff options
context:
space:
mode:
authorPaul Crowley <paulcrowley@google.com>2018-09-18 13:30:21 -0700
committerPaul Crowley <paulcrowley@google.com>2018-09-18 15:41:22 -0700
commit14c8c0765a2968f8605c58f27dc68dcc3b6b0807 (patch)
tree7c7981c54cadbcb3689996815d5b89f8b4159922 /VoldUtil.cpp
parent1251ef0bcfb82ff7aef2c4472620e6565d0c4ba6 (diff)
clang-format many files.
Test: Format-only changes; treehugger suffices. Change-Id: I23cde3f0bbcac13bef555d13514e922c79d5ad48
Diffstat (limited to 'VoldUtil.cpp')
-rw-r--r--VoldUtil.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/VoldUtil.cpp b/VoldUtil.cpp
index afe8b53..26c817c 100644
--- a/VoldUtil.cpp
+++ b/VoldUtil.cpp
@@ -14,13 +14,13 @@
* limitations under the License.
*/
-#include <sys/ioctl.h>
#include <linux/fs.h>
+#include <sys/ioctl.h>
-struct fstab *fstab_default;
+struct fstab* fstab_default;
void get_blkdev_size(int fd, unsigned long* nr_sec) {
- if ((ioctl(fd, BLKGETSIZE, nr_sec)) == -1) {
- *nr_sec = 0;
- }
+ if ((ioctl(fd, BLKGETSIZE, nr_sec)) == -1) {
+ *nr_sec = 0;
+ }
}