summaryrefslogtreecommitdiff
path: root/partition_tools
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-07-10 08:39:26 -0700
committerDavid Anderson <dvander@google.com>2018-07-10 08:39:26 -0700
commit845824662cb38ba75f5c58357a4635e683aa86d0 (patch)
treed3ac92996f7d0cd18f1a729fb1b2eb5b40f8be75 /partition_tools
parent63b1dd6080072f0368c92342216cb080c1c70b82 (diff)
downloadextras-845824662cb38ba75f5c58357a4635e683aa86d0.tar.gz
lpflash: Use the new liblp API.
Bug: 79173901 Test: N/A Change-Id: Ica97a4547e353847e971e46447a7d14fc8d86634
Diffstat (limited to 'partition_tools')
-rw-r--r--partition_tools/lpflash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/partition_tools/lpflash.cc b/partition_tools/lpflash.cc
index 83e5008d..535b259c 100644
--- a/partition_tools/lpflash.cc
+++ b/partition_tools/lpflash.cc
@@ -47,7 +47,7 @@ int main(int argc, char* argv[]) {
return EX_NOINPUT;
}
- if (!WritePartitionTable(argv[1], *pt.get(), SyncMode::Flash, 0)) {
+ if (!FlashPartitionTable(argv[1], *pt.get(), 0)) {
printf("Failed to flash partition table.\n");
return EX_SOFTWARE;
}