summaryrefslogtreecommitdiffstats
path: root/bootloader_message
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-01-06 20:45:54 +0100
committerMatt Mower <mowerm@gmail.com>2017-01-18 21:10:34 +0100
commit3626bdc80056c21e636659fc385791482e32b346 (patch)
treed9dbd585dc20f8791f5a8b45eaa45502b2adcb9c /bootloader_message
parentgui: Initialize button render position (diff)
downloadandroid_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.tar
android_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.tar.gz
android_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.tar.bz2
android_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.tar.lz
android_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.tar.xz
android_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.tar.zst
android_bootable_recovery-3626bdc80056c21e636659fc385791482e32b346.zip
Diffstat (limited to '')
-rw-r--r--bootloader_message/bootloader_message.cpp2
-rw-r--r--bootloader_message/include/bootloader_message/bootloader_message.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootloader_message/bootloader_message.cpp b/bootloader_message/bootloader_message.cpp
index 362d9cbe2..4d1ce5bb4 100644
--- a/bootloader_message/bootloader_message.cpp
+++ b/bootloader_message/bootloader_message.cpp
@@ -39,7 +39,7 @@
static std::string misc_blkdev;
-void set_misc_device(const char* type, const char* name) {
+void set_misc_device(std::string name) {
misc_blkdev = name;
}
diff --git a/bootloader_message/include/bootloader_message/bootloader_message.h b/bootloader_message/include/bootloader_message/bootloader_message.h
index b4d3604e7..52d733105 100644
--- a/bootloader_message/include/bootloader_message/bootloader_message.h
+++ b/bootloader_message/include/bootloader_message/bootloader_message.h
@@ -86,7 +86,7 @@ bool clear_bootloader_message(std::string* err);
bool read_wipe_package(std::string* package_data, size_t size, std::string* err);
bool write_wipe_package(const std::string& package_data, std::string* err);
-void set_misc_device(const char* type, const char* name);
+void set_misc_device(std::string name);
void get_args(int *argc, char ***argv);
#else