diff --git a/interfaces/innerkits/include/appspawn_socket.h b/interfaces/innerkits/include/appspawn_socket.h index 820f8c299cb1a10411fd039d2fb562e4caea9bf4..a8351bce98ae701b4c7d0b07a6b404f0d997ab7c 100644 --- a/interfaces/innerkits/include/appspawn_socket.h +++ b/interfaces/innerkits/include/appspawn_socket.h @@ -39,7 +39,7 @@ public: explicit AppSpawnSocket(const std::string &name); /** - * Destructor used to destory a AppSpawnSocket + * Destructor used to destroy a AppSpawnSocket */ virtual ~AppSpawnSocket(); diff --git a/lite/appspawn_service.c b/lite/appspawn_service.c index f58cdb04586f87c0461c3e554a6684764ea85b4f..4566c3404f840a058dc39d531b7390d444b728ae 100644 --- a/lite/appspawn_service.c +++ b/lite/appspawn_service.c @@ -108,7 +108,7 @@ AppSpawnContent *AppSpawnCreateContent(const char *socketName, char *longProcNam APPSPAWN_CHECK(appSpawnContent != NULL, return NULL, "Failed to alloc memory for appspawn"); int ret = memset_s(appSpawnContent, sizeof(AppSpawnContentLite), 0, sizeof(AppSpawnContentLite)); APPSPAWN_CHECK(ret == 0, free(appSpawnContent); - return NULL, "Failed to memset conent"); + return NULL, "Failed to memset content"); appSpawnContent->content.longProcName = NULL; appSpawnContent->content.longProcNameLen = 0; g_appSpawnContentLite = appSpawnContent; diff --git a/standard/appspawn_service.c b/standard/appspawn_service.c index 0076ca879e20e49dd54618758b35161ed5c363b9..924664e7069fc668f13d14a0e22b744f2bb6bc11 100644 --- a/standard/appspawn_service.c +++ b/standard/appspawn_service.c @@ -272,7 +272,7 @@ static int GetProcessTerminationStatusInner(int32_t pid, int *status) } if (GetRenderProcessTerminationStatus(pid, status) == 0) { - // this shows that the parent process has recived SIGCHLD signal. + // this shows that the parent process has received SIGCHLD signal. return 0; }