Changeset 671 for trunk/kernel/libk/user_dir.c
- Timestamp:
- Nov 19, 2020, 11:47:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/user_dir.c
r641 r671 124 124 125 125 // check dirent size 126 assert( ( sizeof(struct dirent) == 64), "sizeof(dirent) must be 64\n");126 assert( __FUNCTION__, ( sizeof(struct dirent) == 64), "sizeof(dirent) must be 64\n"); 127 127 128 128 // compute number of dirent per page … … 253 253 254 254 // check vseg size 255 assert( (total_pages == hal_remote_l32( XPTR( ref_cxy , &vseg->vpn_size ) ) ),255 assert( __FUNCTION__, (total_pages == hal_remote_l32( XPTR( ref_cxy , &vseg->vpn_size ) ) ), 256 256 "unconsistent vseg size for dirent array " ); 257 257 … … 324 324 325 325 // check number of pages 326 assert( (page_id == total_pages) , "unconsistent pages number\n" );326 assert( __FUNCTION__, (page_id == total_pages) , "unconsistent pages number\n" ); 327 327 328 328 // initialise user_dir_t structure
Note: See TracChangeset
for help on using the changeset viewer.