[DFS] change the cmd to long data type.
This commit is contained in:
parent
b7cf723162
commit
bc0fbbfe82
|
@ -134,7 +134,7 @@ int unlink(const char *pathname);
|
|||
int stat(const char *file, struct stat *buf);
|
||||
int fstat(int fildes, struct stat *buf);
|
||||
int fsync(int fildes);
|
||||
int ioctl(int fildes, unsigned long cmd, void *data);
|
||||
int ioctl(int fildes, long cmd, void *data);
|
||||
|
||||
/* directory api*/
|
||||
int rmdir(const char *path);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue