aboutsummaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2014-07-31 12:45:27 -0700
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:35:47 -0800
commit0176875fba9ceb5674dfd71108fb66fa53164791 (patch)
tree1ab69b9091ee5a2d28acf135ec7e291d634b2dc0 /updater
parentdd42d5600bc3772b92d7d0306fd021037e37094a (diff)
downloadbootable_recovery-0176875fba9ceb5674dfd71108fb66fa53164791.zip
bootable_recovery-0176875fba9ceb5674dfd71108fb66fa53164791.tar.gz
bootable_recovery-0176875fba9ceb5674dfd71108fb66fa53164791.tar.bz2
sr: updater: Fix multi-stage docs
* Fix reboot_now comments to reflect actual usage. Change-Id: I692d626185af24620382f7b318c2b77f643ccfb8
Diffstat (limited to 'updater')
-rw-r--r--updater/install.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/updater/install.c b/updater/install.c
index 68cd7e0..8d569ff 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -1484,10 +1484,11 @@ Value* ReadFileFn(const char* name, State* state, int argc, Expr* argv[]) {
// current package (because nothing has cleared the copy of the
// arguments stored in the BCB).
//
-// The argument is the partition name passed to the android reboot
-// property. It can be "recovery" to boot from the recovery
-// partition, or "" (empty string) to boot from the regular boot
-// partition.
+// The first argument is the block device for the misc partition
+// ("/misc" in the fstab). The second argument is the argument
+// passed to the android reboot property. It can be "recovery" to
+// boot from the recovery partition, or "" (empty string) to boot
+// from the regular boot partition.
Value* RebootNowFn(const char* name, State* state, int argc, Expr* argv[]) {
if (argc != 2) {
return ErrorAbort(state, "%s() expects 2 args, got %d", name, argc);