summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-09 13:50:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-09 13:50:47 +0000
commit8dba3733fbf605cdae096273507cb2f1f3a3ef9d (patch)
tree7182bc0a53740df09243d8d68d6223c14a7810b4 /c/src/exec/libcsupport
parentSignificantly cleaned up to make a much better starting point for the (diff)
downloadrtems-8dba3733fbf605cdae096273507cb2f1f3a3ef9d.tar.bz2
Switched to using strcasecmp() since it is more portable.
D. V. Henkel-Wallace <gumby@zembu.com> spotted this one.
Diffstat (limited to 'c/src/exec/libcsupport')
-rw-r--r--c/src/exec/libcsupport/src/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/mount.c b/c/src/exec/libcsupport/src/mount.c
index 6a713e1125..e242e1a8ff 100644
--- a/c/src/exec/libcsupport/src/mount.c
+++ b/c/src/exec/libcsupport/src/mount.c
@@ -270,9 +270,9 @@ rtems_filesystem_options_t get_file_system_options(
char *fsoptions
)
{
- if ( strcmp( "RO", strupr( fsoptions ) ) == 0 )
+ if ( strcasecmp( "RO", fsoptions ) == 0 )
return RTEMS_FILESYSTEM_READ_ONLY;
- if ( strcmp( "RW", strupr( fsoptions ) ) == 0 )
+ if ( strcasecmp( "RW", fsoptions ) == 0 )
return RTEMS_FILESYSTEM_READ_WRITE_ONLY;
else
return RTEMS_FILESYSTEM_BAD_OPTIONS;