Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_mem.cc

Issue 13106002: [NaCl SDK] A bunch of spelling fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix presubmit Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/mount_mem.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_mem.cc b/native_client_sdk/src/libraries/nacl_io/mount_mem.cc
index e14ed3d21b05e8bcb6d7501f755ace6086e0738a..fa3035cbcc96afc8cdb576f693da6bc4782412e6 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_mem.cc
+++ b/native_client_sdk/src/libraries/nacl_io/mount_mem.cc
@@ -115,7 +115,7 @@ MountNode* MountMem::Open(const Path& path, int mode) {
// If the node does not exist and we can't create it, fail
if ((mode & O_CREAT) == 0) return NULL;
- // Otherwise, create it with a single refernece
+ // Otherwise, create it with a single reference
mode = OpenModeToPermission(mode);
node = AllocateData(mode);
if (NULL == node) return NULL;
@@ -134,7 +134,7 @@ MountNode* MountMem::Open(const Path& path, int mode) {
return NULL;
}
- // Verify we got the requested permisions.
+ // Verify we got the requested permissions.
int req_mode = OpenModeToPermission(mode);
int obj_mode = node->GetMode() & OpenModeToPermission(O_RDWR);
if ((obj_mode & req_mode) != req_mode) {
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_object.cc ('k') | native_client_sdk/src/libraries/nacl_io/path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698