Changeset 637 for trunk/kernel/syscalls/sys_stat.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_stat.c
r635 r637 80 80 81 81 // copy pathname in kernel space 82 hal_strcpy_from_uspace( kbuf , pathname , CONFIG_VFS_MAX_PATH_LENGTH ); 82 hal_strcpy_from_uspace( XPTR( local_cxy , kbuf ), 83 pathname, 84 CONFIG_VFS_MAX_PATH_LENGTH ); 83 85 84 86 #if DEBUG_SYS_STAT … … 121 123 122 124 // copy k_stat to u_stat 123 hal_copy_to_uspace( local_cxy, 124 &k_stat, 125 u_stat, 125 hal_copy_to_uspace( u_stat, 126 XPTR( local_cxy , &k_stat ), 126 127 sizeof(struct stat) ); 127 128
Note: See TracChangeset
for help on using the changeset viewer.