diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_fsunmount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_fsunmount.c b/cpukit/libfs/src/imfs/imfs_fsunmount.c index c3a12efb14..19a26ffd04 100644 --- a/cpukit/libfs/src/imfs/imfs_fsunmount.c +++ b/cpukit/libfs/src/imfs/imfs_fsunmount.c @@ -74,12 +74,12 @@ int IMFS_fsunmount( IMFS_Set_handlers( &loc ); if ( jnode->type != IMFS_DIRECTORY ) { - result = IMFS_unlink( &loc ); + result = IMFS_unlink( NULL, &loc ); if (result != 0) return -1; jnode = next; } else if ( jnode_has_no_children( jnode ) ) { - result = IMFS_unlink( &loc ); + result = IMFS_unlink( NULL, &loc ); if (result != 0) return -1; jnode = next; |