diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-11 18:10:22 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-11 18:10:22 +0000 |
commit | e58cb9f47ccff39c084944ea3e5c1154325b6ef1 (patch) | |
tree | 7d8c91af166541c11753f1b8b3ef847edf7c48a8 /nuttx/fs | |
parent | 701cde95d29fbb7dd75e42b0cd37fc3434c6fd88 (diff) | |
download | px4-nuttx-e58cb9f47ccff39c084944ea3e5c1154325b6ef1.tar.gz px4-nuttx-e58cb9f47ccff39c084944ea3e5c1154325b6ef1.tar.bz2 px4-nuttx-e58cb9f47ccff39c084944ea3e5c1154325b6ef1.zip |
Add IGMP user interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2786 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r-- | nuttx/fs/fs_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_ioctl.c b/nuttx/fs/fs_ioctl.c index 350feff00..79362c34f 100644 --- a/nuttx/fs/fs_ioctl.c +++ b/nuttx/fs/fs_ioctl.c @@ -1,7 +1,7 @@ /**************************************************************************** * fs/fs_ioctl.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -103,7 +103,7 @@ int ioctl(int fd, int req, unsigned long arg) #if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0 if ((unsigned int)fd < (CONFIG_NFILE_DESCRIPTORS+CONFIG_NSOCKET_DESCRIPTORS)) { - return netdev_ioctl(fd, req, (struct ifreq*)arg); + return netdev_ioctl(fd, req, arg); } else #endif |