summaryrefslogtreecommitdiff
path: root/bootctl
diff options
context:
space:
mode:
authorChris Phoenix <cphoenix@google.com>2017-01-20 11:37:15 -0800
committerChris Phoenix <cphoenix@google.com>2017-01-20 14:19:22 -0800
commit3659fcdc0c26dfe19a996f4b986fa45cdd15037f (patch)
tree5f7260842e8f93faaacbe965e1a0140f7ea7ced3 /bootctl
parent7f56eee60c66062acaa72fb212037a62a7e7f62d (diff)
downloadextras-3659fcdc0c26dfe19a996f4b986fa45cdd15037f.tar.gz
bootctrl HAL uses "default" service name
The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works In support of b/33844934 Change-Id: Iba190c717cf02d2dfe90b470f82b6ca4a82b6c07 Merged-In: Idc2c5ba09f2486ff9cc9815d72a7e5a0af323b22
Diffstat (limited to 'bootctl')
-rw-r--r--bootctl/bootctl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootctl/bootctl.cpp b/bootctl/bootctl.cpp
index 5f8b979b..2b3865e5 100644
--- a/bootctl/bootctl.cpp
+++ b/bootctl/bootctl.cpp
@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
return EX_USAGE;
}
- module = IBootControl::getService("bootctrl");
+ module = IBootControl::getService();
if (module == NULL) {
fprintf(stderr, "Error getting bootctrl module.\n");
return EX_SOFTWARE;