summaryrefslogtreecommitdiffstats
path: root/ui/common
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-02-27 14:28:55 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-15 14:54:21 +0800
commit1b0b59295d0500764c5096753f7cd11bf3ab5df4 (patch)
treeec9212781e9e7acf57b399ab7ed13d27244b0012 /ui/common
parent6b842bb2559116a949c6a569ac39f5c56ebc1be1 (diff)
downloadtalos-petitboot-1b0b59295d0500764c5096753f7cd11bf3ab5df4.tar.gz
talos-petitboot-1b0b59295d0500764c5096753f7cd11bf3ab5df4.zip
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 <jk@ozlabs.org>
Diffstat (limited to 'ui/common')
-rw-r--r--ui/common/ui-system.c4
-rw-r--r--ui/common/ui-system.h2
2 files changed, 3 insertions, 3 deletions
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);
OpenPOWER on IntegriCloud