From 1b0b59295d0500764c5096753f7cd11bf3ab5df4 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 27 Feb 2013 14:28:55 +0800 Subject: ui: callback & boot actions: kexec -> boot find ui/ -type f | xargs sed -i -e s/kexec_cb/boot_cb/g \ -e s/on_kexec/on_boot/g \ -e s/run_kexec/boot/g Signed-off-by: Jeremy Kerr --- ui/common/ui-system.c | 4 ++-- ui/common/ui-system.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/common') diff --git a/ui/common/ui-system.c b/ui/common/ui-system.c index a828e2e..157c6db 100644 --- a/ui/common/ui-system.c +++ b/ui/common/ui-system.c @@ -142,10 +142,10 @@ static int kexec_reboot(int dry_run) } /** - * pb_run_kexec - Run kexec with the supplied boot options. + * pb_boot - Run kexec with the supplied boot options. */ -int pb_run_kexec(const struct pb_boot_data *bd, int dry_run) +int pb_boot(const struct pb_boot_data *bd, int dry_run) { int result; char *l_image = NULL; diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index 82f630e..bf4f4e9 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -33,7 +33,7 @@ struct pb_boot_data { char *args; }; -int pb_run_kexec(const struct pb_boot_data *bd, int dry_run); +int pb_boot(const struct pb_boot_data *bd, int dry_run); int pb_start_daemon(void); unsigned int pb_elf_hash(const char *str); -- cgit v1.2.1