* syscalls.cc (mknod): Add valid parameters.

This commit is contained in:
Christopher Faylor 2001-02-09 17:17:34 +00:00
parent 34f31ff211
commit c41482c7ee
2 changed files with 5 additions and 1 deletions

View File

@ -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> Thu Feb 8 22:09:00 2001 Corinna Vinschen <corinna@vinschen.de>
* mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED

View File

@ -1844,7 +1844,7 @@ regfree ()
fileutils) assume its existence so we must provide a stub that always fileutils) assume its existence so we must provide a stub that always
fails. */ fails. */
extern "C" int extern "C" int
mknod () mknod (const char *_path, mode_t mode, dev_t dev)
{ {
set_errno (ENOSYS); set_errno (ENOSYS);
return -1; return -1;