diff options
author | Chris Johns <chrisj@rtems.org> | 2010-02-24 09:30:40 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2010-02-24 09:30:40 +0000 |
commit | 520705cee8415546be6a97fee21bfa036e54c096 (patch) | |
tree | 2773305c3f56563fd12a359d3f884e6f462cbeb1 /cpukit/libfs/src/dosfs/msdos_format.c | |
parent | This commit was generated by cvs2svn to compensate for changes in r22675, (diff) | |
download | rtems-520705cee8415546be6a97fee21bfa036e54c096.tar.bz2 |
2010-02-24 Chris Johns <chrisj@rtems.org>
* libmisc/shell/main_msdosfmt.c, libmisc/shell/shellconfig.h: Fix
the alias as I did understand how it worked.
* libfs/src/dosfs/msdos_format.c: Test for a block device.
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_format.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c index e9d7cc2e5c..d424c54aa6 100644 --- a/cpukit/libfs/src/dosfs/msdos_format.c +++ b/cpukit/libfs/src/dosfs/msdos_format.c @@ -910,7 +910,7 @@ int msdos_format /* rtems feature: no block devices, all are character devices */ if ((ret_val == 0) && - (!S_ISCHR(stat_buf.st_mode))) { + (!S_ISBLK(stat_buf.st_mode))) { errno = ENOTTY; ret_val = -1; } |