浏览代码

[Pal] Fix typos

borysp 6 年之前
父节点
当前提交
cbac2b5b50
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Pal/src/host/Linux-SGX/enclave_framework.c

+ 2 - 2
Pal/src/host/Linux-SGX/enclave_framework.c

@@ -266,7 +266,7 @@ int load_trusted_file (PAL_HANDLE file, sgx_stub_t ** stubptr,
     size_t len = sizeof(normpath) - 5;
     ret = get_norm_path(uri + 5, normpath + 5, &len);
     if (ret < 0) {
-        SGX_DBG(DBG_E, "Path (%s) normalizaion failed: %s\n", uri + 5, PAL_STRERROR(ret));
+        SGX_DBG(DBG_E, "Path (%s) normalization failed: %s\n", uri + 5, PAL_STRERROR(ret));
         return ret;
     }
     len += 5;
@@ -696,7 +696,7 @@ static int init_trusted_file (const char * key, const char * uri)
     size_t len = sizeof(normpath) - 5;
     ret = get_norm_path(uri + 5, normpath + 5, &len);
     if (ret < 0) {
-        SGX_DBG(DBG_E, "Path (%s) normalizaion failed: %s\n", uri + 5, PAL_STRERROR(ret));
+        SGX_DBG(DBG_E, "Path (%s) normalization failed: %s\n", uri + 5, PAL_STRERROR(ret));
         return ret;
     }