summaryrefslogtreecommitdiff
path: root/partition_tools
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-07-11 23:44:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-07-11 23:44:13 +0000
commit386f496f3fb90a8137564bcc469ceab6ec4e10fc (patch)
tree9664f0d449ad7605a850263404a82247d1388c97 /partition_tools
parent0602320af7c7d5940bd03db6c04e76c932c14dbf (diff)
parent845824662cb38ba75f5c58357a4635e683aa86d0 (diff)
downloadextras-386f496f3fb90a8137564bcc469ceab6ec4e10fc.tar.gz
Merge "lpflash: Use the new liblp API."
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;
}