Fix error log correctly 67/278867/3
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 27 Jul 2022 06:01:57 +0000 (15:01 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 27 Jul 2022 06:12:59 +0000 (15:12 +0900)
Change-Id: Ib17f39cd72f89c170de841563e3074c5594afd66
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/security_registration.cc

index b6aa46514a3fb7fa9a580f89f6d4d72a4f35407b..baabe1b36c22318d06224805821a53f0b9120879 100644 (file)
@@ -290,7 +290,7 @@ class SecurityContextPathRequest {
     int error = security_manager_path_req_new(&req_);
     if (error != SECURITY_MANAGER_SUCCESS) {
       LOG(ERROR)
-          << "Failed while calling security_manager_app_inst_req_new failed "
+          << "Failed while calling security_manager_path_req_new failed "
           << "(error code: " << error << ")";
       SetErrorMessage(&error_message_, error);
       req_ = NULL;
@@ -389,8 +389,8 @@ class SecurityContextPathRequest {
   bool Register() {
     int error = security_manager_paths_register(req_);
     if (error != SECURITY_MANAGER_SUCCESS) {
-      LOG(ERROR) << "Failed while calling  security_manager_app_install failed "
-                 << "(error code: " << error << ")";
+      LOG(ERROR) << "Failed while calling  security_manager_paths_register "
+                 << "failed (error code: " << error << ")";
       SetErrorMessage(&error_message_, error);
       return false;
     }