diff options
author | Christopher Faylor <me@cgf.cx> | 2001-02-09 20:17:34 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-02-09 20:17:34 +0300 |
commit | c41482c7ee561d54d4748b601b26ad2e630edd91 (patch) | |
tree | e5efaf57e94f2c12f6def6fb471a408ea8068691 /winsup | |
parent | 34f31ff211ebed37a3a58f73abfe346ff22bde8a (diff) |
* syscalls.cc (mknod): Add valid parameters.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5685b3a60..a5b41cdf1 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 9 12:17:27 2001 Christopher Faylor <cgf@cygnus.com> + + * syscalls.cc (mknod): Add valid parameters. + Thu Feb 8 22:09:00 2001 Corinna Vinschen <corinna@vinschen.de> * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 5fa6714f3..99e3de7ec 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1844,7 +1844,7 @@ regfree () fileutils) assume its existence so we must provide a stub that always fails. */ extern "C" int -mknod () +mknod (const char *_path, mode_t mode, dev_t dev) { set_errno (ENOSYS); return -1; |