diff options
author | Lu Wang <coolwanglu@gmail.com> | 2013-12-16 22:28:25 +0800 |
---|---|---|
committer | Lu Wang <coolwanglu@gmail.com> | 2013-12-16 22:28:25 +0800 |
commit | 0ed2722fd6a89b6c3284089815ac5fb21a16604e (patch) | |
tree | 0f44411c3bb15ed86c787e06fa962056dedd2d91 /src/library_fs.js | |
parent | 6df9b82b4a1c6c5ab7dfa056ed041153d94c58ec (diff) |
fix typo
Diffstat (limited to 'src/library_fs.js')
-rw-r--r-- | src/library_fs.js | 2 |
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); }, |