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

Daniel Hellstrom daniel at gaisler.com
Tue Sep 24 07:11:18 UTC 2013


On 09/19/2013 02:46 PM, Ralf Corsepius wrote:
> 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

That's true, I will update the patch.

Daniel



More information about the devel mailing list