aboutsummaryrefslogtreecommitdiff
path: root/src/library_fs.js
diff options
context:
space:
mode:
authorLu Wang <coolwanglu@gmail.com>2013-12-16 22:28:25 +0800
committerLu Wang <coolwanglu@gmail.com>2013-12-16 22:28:25 +0800
commit0ed2722fd6a89b6c3284089815ac5fb21a16604e (patch)
tree0f44411c3bb15ed86c787e06fa962056dedd2d91 /src/library_fs.js
parent6df9b82b4a1c6c5ab7dfa056ed041153d94c58ec (diff)
fix typo
Diffstat (limited to 'src/library_fs.js')
-rw-r--r--src/library_fs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_fs.js b/src/library_fs.js
index 5412185f..1e7856aa 100644
--- a/src/library_fs.js
+++ b/src/library_fs.js
@@ -961,7 +961,7 @@ mergeInto(LibraryManager.library, {
throw new FS.ErrnoError(ERRNO_CODES.EACCES);
}
if (!stream.stream_ops.mmap) {
- throw new FS.errnoError(ERRNO_CODES.ENODEV);
+ throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
}
return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags);
},