diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-03-31 23:24:57 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-03-31 23:24:57 +0000 |
commit | ec2328eeaf7de6afe46266ee36e8f8b62af39d6c (patch) | |
tree | c43a7dc93946229ee5b86b929b310fcb6f963b56 /cpukit/libfs | |
parent | Modified to be valid m68k code on all CPU models. (diff) | |
download | rtems-ec2328eeaf7de6afe46266ee36e8f8b62af39d6c.tar.bz2 |
Removed asserts that shouldn't be called and commented case where this
indicates an internal error.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_getchild.c | 3 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_mknod.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_getchild.c b/cpukit/libfs/src/imfs/imfs_getchild.c index 3f37738ab4..3bb710f169 100644 --- a/cpukit/libfs/src/imfs/imfs_getchild.c +++ b/cpukit/libfs/src/imfs/imfs_getchild.c @@ -31,7 +31,8 @@ IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *the_jnode; /* - * Check for fatal errors + * Check for fatal errors. A NULL directory show a problem in the + * the IMFS code. */ assert( directory ); diff --git a/cpukit/libfs/src/imfs/imfs_mknod.c b/cpukit/libfs/src/imfs/imfs_mknod.c index c8c05b3a26..947fe260c1 100644 --- a/cpukit/libfs/src/imfs/imfs_mknod.c +++ b/cpukit/libfs/src/imfs/imfs_mknod.c @@ -20,7 +20,6 @@ #include <unistd.h> #include <errno.h> #include <stdlib.h> -#include <assert.h> #include "imfs.h" #include "libio_.h" @@ -52,7 +51,6 @@ int IMFS_mknod( type = IMFS_DEVICE; rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor ); } else { - assert( 0 ); set_errno_and_return_minus_one( EINVAL ); } |