From 0176875fba9ceb5674dfd71108fb66fa53164791 Mon Sep 17 00:00:00 2001 From: Tom Marshall Date: Thu, 31 Jul 2014 12:45:27 -0700 Subject: sr: updater: Fix multi-stage docs * Fix reboot_now comments to reflect actual usage. Change-Id: I692d626185af24620382f7b318c2b77f643ccfb8 --- updater/install.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'updater') 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); -- cgit v1.1