You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/05/06 15:33:34 UTC

[incubator-nuttx] branch master updated: syscall/syscall.csv: Corect type for ioctl parameter

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6077124  syscall/syscall.csv:  Corect type for ioctl parameter
6077124 is described below

commit 6077124b38d3596688403e3827263c166f8a8f7d
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Wed May 6 07:35:13 2020 -0600

    syscall/syscall.csv:  Corect type for ioctl parameter
    
    Variable argument should be of type unsigned long, not unsigned int.
---
 syscall/syscall.csv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syscall/syscall.csv b/syscall/syscall.csv
index 980dcd0..3889afd 100644
--- a/syscall/syscall.csv
+++ b/syscall/syscall.csv
@@ -41,7 +41,7 @@
 "if_indextoname","net/if.h","defined(CONFIG_NETDEV_IFINDEX)","FAR char *","unsigned int","FAR char *"
 "if_nametoindex","net/if.h","defined(CONFIG_NETDEV_IFINDEX)","unsigned int","FAR const char *"
 "insmod","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *","FAR const char *"
-"ioctl","sys/ioctl.h","","int","int","int","...","unsigned int"
+"ioctl","sys/ioctl.h","","int","int","int","...","unsigned long"
 "kill","signal.h","","int","pid_t","int"
 "link","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","int","FAR const char *","FAR const char *"
 "listen","sys/socket.h","defined(CONFIG_NET)","int","int","int"