mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Return a reasonable error other than ENOSYS.
This commit is contained in:
1 parent
7fec3b7a36
commit
165fe39ff2
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@
|
||||
|
||||
pid_t setsid( void )
|
||||
{
|
||||
set_errno_and_return_minus_one( ENOSYS );
|
||||
set_errno_and_return_minus_one( EPERM );
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
pid_t setsid( void )
|
||||
{
|
||||
set_errno_and_return_minus_one( ENOSYS );
|
||||
set_errno_and_return_minus_one( EPERM );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user