summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-27 17:43:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-27 17:43:18 +0000
commitb8dc838c14aa0f56f9fe019d68fc0ed3911618bb (patch)
tree50b6f82a0472c4e5c33ab91ee63edfbbc3eea6a7 /cpukit/libfs
parent2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-b8dc838c14aa0f56f9fe019d68fc0ed3911618bb.tar.bz2
2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1693/filesystem * libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was checking incorrect pointer and thus had dead code.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/imfs/memfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index e0429b3e92..fc7d0fb56c 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -1048,7 +1048,7 @@ fflush(stdout);
return 0;
p2 = (block_p *)p1[ doubly ];
- if ( !p )
+ if ( !p2 )
return 0;
return (block_p *)&p2[ singly ];