Index: native_client_sdk/src/libraries/nacl_io/kernel_object.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_object.cc b/native_client_sdk/src/libraries/nacl_io/kernel_object.cc |
index 95223f6974f27cfac44c80a29165bf9e824cfdce..75e84c935531268d3e06babf07aa012366f7ff85 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/kernel_object.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_object.cc |
@@ -115,7 +115,7 @@ void KernelObject::ReleaseHandle(KernelHandle* handle) { |
} |
// Helper function to properly sort FD order in the heap, forcing |
-// lower numberd FD to be available first. |
+// lower numbered FD to be available first. |
static bool FdOrder(int i, int j) { |
return i > j; |
} |
@@ -148,7 +148,7 @@ void KernelObject::FreeAndReassignFD(int fd, KernelHandle* handle) { |
} else { |
AutoLock lock(&process_lock_); |
- // Acquire the new handle first incase they are the same. |
+ // Acquire the new handle first in case they are the same. |
if (handle) { |
handle->Acquire(); |
handle->mount_->Acquire(); |