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:
Chris Johns
2012-04-28 12:21:45 +10:00
parent c36ebbda30
commit 3756041b00

View File

@@ -31,7 +31,7 @@ ssize_t IMFS_readlink(
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++ )
buf[i] = node->info.sym_link.name[i];