提交 bc0fbbfe 编写于 作者: B bernard

[DFS] change the cmd to long data type.

上级 b7cf7231
...@@ -134,7 +134,7 @@ int unlink(const char *pathname); ...@@ -134,7 +134,7 @@ int unlink(const char *pathname);
int stat(const char *file, struct stat *buf); int stat(const char *file, struct stat *buf);
int fstat(int fildes, struct stat *buf); int fstat(int fildes, struct stat *buf);
int fsync(int fildes); int fsync(int fildes);
int ioctl(int fildes, unsigned long cmd, void *data); int ioctl(int fildes, long cmd, void *data);
/* directory api*/ /* directory api*/
int rmdir(const char *path); int rmdir(const char *path);
......
...@@ -427,7 +427,7 @@ RTM_EXPORT(fsync); ...@@ -427,7 +427,7 @@ RTM_EXPORT(fsync);
* @return 0 on successful completion. Otherwise, -1 shall be returned and errno * @return 0 on successful completion. Otherwise, -1 shall be returned and errno
* set to indicate the error. * set to indicate the error.
*/ */
int ioctl(int fildes, unsigned long cmd, void *data) int ioctl(int fildes, long cmd, void *data)
{ {
int ret; int ret;
struct dfs_fd *d; struct dfs_fd *d;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册