summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-02-20 02:27:58 +0000
committerChris Johns <chrisj@rtems.org>2010-02-20 02:27:58 +0000
commit5268642f861149fc63b9cd1d8c661e0ffa2781fb (patch)
treef1b1947c64a3c9ea2a547c8334c9359bd83c1ca4 /cpukit/libfs/src/rfs/rtems-rfs-buffer.c
parent2010-02-19 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-5268642f861149fc63b9cd1d8c661e0ffa2781fb.tar.bz2
2010-02-20 Chris Johns <chrisj@rtems.org>
* libfs/src/dosfs/fat.c, libfs/src/rfs/rtems-rfs-buffer.c: Block devices are now block device nodes and not character device nodes.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-buffer.c')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
index ee1a7f6bde..4d9d419d5c 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
@@ -295,7 +295,7 @@ rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)
/*
* Is the device a block device ?
*/
- if (!S_ISCHR (st.st_mode))
+ if (!S_ISBLK (st.st_mode))
{
if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))
printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name);