diff options
author | David Anderson <dvander@google.com> | 2018-08-01 10:04:22 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-08-01 11:14:42 -0700 |
commit | 4eb0454952f5cc94825a76a4bd4fb5d8177b8605 (patch) | |
tree | bdb6a19dd875fecf8e1588d39e685f6408070752 /partition_tools | |
parent | b9d29fa84bc72f62aed1fc716c87df4c85db4792 (diff) | |
download | extras-4eb0454952f5cc94825a76a4bd4fb5d8177b8605.tar.gz |
partition_tools: Use ResizePartition instead of GrowPartition.
Bug: 79173901
Test: N/A
Change-Id: I1b13883f5089a00e7c4637ebb2e5bdb44a50d11e
Diffstat (limited to 'partition_tools')
-rw-r--r-- | partition_tools/lpmake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partition_tools/lpmake.cc b/partition_tools/lpmake.cc index 9ba688dc..493e4118 100644 --- a/partition_tools/lpmake.cc +++ b/partition_tools/lpmake.cc @@ -222,7 +222,7 @@ int main(int argc, char* argv[]) { } Partition* partition = builder->AddPartition(name, parts[1], attribute_flags); - if (!builder->GrowPartition(partition, size)) { + if (!builder->ResizePartition(partition, size)) { fprintf(stderr, "Not enough space on device for partition %s with size %" PRIu64 "\n", name.c_str(), size); return EX_SOFTWARE; |