diff --git a/transport_service/core/tpsa/include/uvs_api.h b/transport_service/core/tpsa/include/uvs_api.h index 477aa154381a74a8ce00ed6a8e8ed14eb47cc5a9..b79ddfd72f176f8a32c55fbd55b0ec725f5c2c55 100644 --- a/transport_service/core/tpsa/include/uvs_api.h +++ b/transport_service/core/tpsa/include/uvs_api.h @@ -260,7 +260,7 @@ int uvs_del_migration_task(uvs_ueid_t *dueid); int uvs_query_stats(const char *tpf_name, uvs_stats_key_t *key, uvs_stats_val_t *val); /** - * Get rescource info depend on tpf name and keys + * Get resource info depend on tpf name and keys * @param[in] tpf_name:tpf name to locate device * @param[in] key: resource keys used for find val * @param[out] val:value found depend on key diff --git a/transport_service/daemon/tpsa_daemon.c b/transport_service/daemon/tpsa_daemon.c index 2e347c6d006f646e15936790212e2d55137877c4..c2f8d35a234cc71b3caec38fcb24e012d5a8123a 100644 --- a/transport_service/daemon/tpsa_daemon.c +++ b/transport_service/daemon/tpsa_daemon.c @@ -98,7 +98,7 @@ static void running_singleton(void) goto ERR; } - /* Step 3: clear pidfile and wirte pid to it */ + /* Step 3: clear pidfile and write pid to it */ if (ftruncate(fileno(g_file), 0) == -1) { TPSA_LOG_ERR("clear uvs pid file failed\n"); goto ERR;