summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/klogctl.c
diff options
context:
space:
mode:
authorwangyufen <wangyufen@huawei.com>2014-11-11 15:59:11 +0800
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-10 13:05:58 -0600
commit0cda37ffaf3cb7aec2c1c8b49e2a5b8f82255c3e (patch)
tree0ac34147c8f71f35dbf53b97541aa7ba4b8b9925 /libc/sysdeps/linux/common/klogctl.c
parent86087816201d61f1b72d8bd7d91cfc7eb26422e9 (diff)
add argument check in mknod
mknod() in glibc/eglibc will check the argument, like this, ... if (k_dev != dev) { __set_errno (EINVAL); return -1; } ... So add argument check in uclibc's mknod() too. Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Diffstat (limited to 'libc/sysdeps/linux/common/klogctl.c')
0 files changed, 0 insertions, 0 deletions