diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-10 07:11:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-10 07:11:26 +0000 |
commit | 48943dc1958d8938a5e82c9a175d4e478672f104 (patch) | |
tree | 95a1a753d6cdb3ae99e55d81016aabb6570510df /cpukit/libfs/src/devfs/devfs_mknod.c | |
parent | 87f4e9ba56bfc96ffd035870645daca49a62dcff (diff) |
2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs_mknod.c: Remove const cast.
* libfs/src/imfs/ioman.c: Remove const cast.
* libfs/src/devfs/devfs.h: Make device_name a const char*.
* sapi/include/rtems/io.h: Make device_name a const char*.
Diffstat (limited to 'cpukit/libfs/src/devfs/devfs_mknod.c')
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_mknod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/devfs/devfs_mknod.c b/cpukit/libfs/src/devfs/devfs_mknod.c index d8e5a30d5f..4a8b8b3523 100644 --- a/cpukit/libfs/src/devfs/devfs_mknod.c +++ b/cpukit/libfs/src/devfs/devfs_mknod.c @@ -69,7 +69,7 @@ int devFS_mknod( rtems_set_errno_and_return_minus_one( ENOMEM ); _ISR_Disable(level); - device_name_table[slot].device_name = (char *)path; + device_name_table[slot].device_name = path; device_name_table[slot].device_name_length = strlen(path); device_name_table[slot].major = major; device_name_table[slot].minor = minor; |