Skip to content

Commit 84bcf30

Browse files
committed
Fix tests
1 parent ad02402 commit 84bcf30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_syscall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var SyscallsLibrary = {
4242
},
4343
// When called by stat, arg is a path. When called by fstat, arg is a file
4444
// descriptor.
45-
writeStat(buf, statResult) {
45+
writeStat(buf, stat) {
4646
{{{ makeSetValue('buf', C_STRUCTS.stat.st_dev, 'stat.dev', 'i32') }}};
4747
{{{ makeSetValue('buf', C_STRUCTS.stat.st_mode, 'stat.mode', 'i32') }}};
4848
{{{ makeSetValue('buf', C_STRUCTS.stat.st_nlink, 'stat.nlink', SIZE_TYPE) }}};

0 commit comments

Comments
 (0)