From 487ce850cc5f884f7689a2bfd55a7e1cf6eb3053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Boisnard?= Date: Fri, 19 Jul 2013 17:17:52 +0200 Subject: [PFW] Fix typo in the naming of the SubsystemBuilder API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BZ: 124779 There is a typo in the naming of the SubsystemBuilder API, "Susbystem" is used instead of "Subsystem". This patch replaces all occurences of "Susbystem" with "Subsystem". Change-Id: Ic132bdc685013257a138465545b99d001c46535a Signed-off-by: Frédéric Boisnard Reviewed-on: http://android.intel.com:8080/120166 Reviewed-by: Denneulin, Guillaume Reviewed-by: De Chivre, Renaud Tested-by: Barthes, FabienX Reviewed-by: buildbot Tested-by: buildbot --- parameter/SystemClass.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'parameter/SystemClass.cpp') diff --git a/parameter/SystemClass.cpp b/parameter/SystemClass.cpp index ae0c25f..56bc489 100644 --- a/parameter/SystemClass.cpp +++ b/parameter/SystemClass.cpp @@ -39,7 +39,7 @@ // A plugin file name is of the form: // lib-subsystem.so // The plugin symbol is of the form: -// getSusbystemBuilder +// getSubsystemBuilder // Plugin file naming const char* gpcPluginPattern = "-subsystem.so"; @@ -47,10 +47,10 @@ const char* gpcLibraryPrefix = "lib"; // Plugin symbol naming const char* gpcPluginSymbolPrefix = "get"; -const char* gpcPluginSymbolSuffix = "SusbystemBuilder"; +const char* gpcPluginSymbolSuffix = "SubsystemBuilder"; // Used by subsystem plugins -typedef void (*GetSusbystemBuilder)(CSubsystemLibrary*); +typedef void (*GetSubsystemBuilder)(CSubsystemLibrary*); CSystemClass::CSystemClass() : _pSubsystemLibrary(new CSubsystemLibrary) { @@ -191,9 +191,9 @@ bool CSystemClass::loadPlugins(list& lstrPluginFiles, string& strError) string strPluginSymbol = getPluginSymbol(strPluginFileName); // Load symbol from library - GetSusbystemBuilder pfnGetSusbystemBuilder = (GetSusbystemBuilder)dlsym(lib_handle, strPluginSymbol.c_str()); + GetSubsystemBuilder pfnGetSubsystemBuilder = (GetSubsystemBuilder)dlsym(lib_handle, strPluginSymbol.c_str()); - if (!pfnGetSusbystemBuilder) { + if (!pfnGetSubsystemBuilder) { strError = "Subsystem plugin " + strPluginFileName + " does not contain " + strPluginSymbol + " symbol."; @@ -201,7 +201,7 @@ bool CSystemClass::loadPlugins(list& lstrPluginFiles, string& strError) } // Fill library - pfnGetSusbystemBuilder(_pSubsystemLibrary); + pfnGetSubsystemBuilder(_pSubsystemLibrary); // Account for this success bAtLeastOneSybsystemPluginSuccessfullyLoaded = true; -- cgit v1.1