forked from Imagelibrary/rtems
IMFS: Update IMS_assert check when RTEMS_DEBUG is enabled.
Update the assert macro to the new IMFS_jnode_t.
This commit is contained in:
@@ -31,7 +31,7 @@ ssize_t IMFS_readlink(
|
|||||||
|
|
||||||
node = loc->node_access;
|
node = loc->node_access;
|
||||||
|
|
||||||
IMFS_assert( node->type == IMFS_SYM_LINK );
|
IMFS_assert( node->control.imfs_type == IMFS_SYM_LINK );
|
||||||
|
|
||||||
for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
|
for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
|
||||||
buf[i] = node->info.sym_link.name[i];
|
buf[i] = node->info.sym_link.name[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user