summaryrefslogtreecommitdiff
path: root/components/dfs/src
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-06-15 14:37:18 +0800
committerbernard <[email protected]>2017-06-15 14:37:18 +0800
commitbc0fbbfe823f771ff3580fb6f861f28573135354 (patch)
tree30a300a0b2001a46dfb5adc4154105fadcc8ec9e /components/dfs/src
parentb7cf723162a938bfb59968549db7bfa9caaeaf97 (diff)
[DFS] change the cmd to long data type.
Diffstat (limited to 'components/dfs/src')
-rw-r--r--components/dfs/src/dfs_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs_posix.c b/components/dfs/src/dfs_posix.c
index 58db600eb8..0f1d9569e6 100644
--- a/components/dfs/src/dfs_posix.c
+++ b/components/dfs/src/dfs_posix.c
@@ -427,7 +427,7 @@ RTM_EXPORT(fsync);
* @return 0 on successful completion. Otherwise, -1 shall be returned and errno
* set to indicate the error.
*/
-int ioctl(int fildes, unsigned long cmd, void *data)
+int ioctl(int fildes, long cmd, void *data)
{
int ret;
struct dfs_fd *d;