[PATCH 1/1] DEVFS mknod stored path pointer, now path is copied instead

Ralf Corsepius ralf.corsepius at rtems.org
Thu Sep 19 12:46:32 UTC 2013


On 09/19/2013 02:27 PM, Daniel Hellstrom wrote:
> On 09/18/2013 08:52 PM, Chris Johns wrote:
>> Daniel Hellstrom wrote:
>>> ---
>>>   For RTEMS 4.10 branch.
>>>
>>>   cpukit/libfs/src/devfs/devfs_mknod.c |    9 +++++++--
>>>   1 files changed, 7 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/cpukit/libfs/src/devfs/devfs_mknod.c
>>> b/cpukit/libfs/src/devfs/devfs_mknod.c
>>> index d8e5a30..6df84a4 100644
>>> --- a/cpukit/libfs/src/devfs/devfs_mknod.c
>>> +++ b/cpukit/libfs/src/devfs/devfs_mknod.c
>>> @@ -29,6 +29,7 @@ int devFS_mknod(
>>>   {
>>>     int                       i;
>>>     int                       slot;
>>> +  int                       len;
This likely should be a size_t, not an int.

Ralf





More information about the devel mailing list