Skip to content

Commit

Permalink
fix wrong stat struct size
Browse files Browse the repository at this point in the history
  • Loading branch information
camthesaxman committed Apr 7, 2018
1 parent d067593 commit 5f19021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions linux-user/irix_syscall_nr.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
#define TARGET_NR_getitimer (TARGET_NR_Linux + 105)
//#define TARGET_NR_stat (TARGET_NR_Linux + 106)
#define TARGET_NR_lstat (TARGET_NR_Linux + 107)
#define TARGET_NR_gethostname (TARGET_NR_Linux + 108)
//#define TARGET_NR_fstat (TARGET_NR_Linux + 108)
#define TARGET_NR_unused109 (TARGET_NR_Linux + 109)
#define TARGET_NR_iopl (TARGET_NR_Linux + 110)
Expand Down
2 changes: 1 addition & 1 deletion linux-user/syscall_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ struct target_stat {
abi_long target_st_ctime_nsec;
abi_long st_blksize;
abi_long st_blocks;
abi_long st_pad4[14];
abi_long st_pad4[12];
};

/*
Expand Down

0 comments on commit 5f19021

Please sign in to comment.