mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix negated return value in sigisemptyset(3).
This commit is contained in:
parent
9d7a032f80
commit
6af85a5dd8
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2013.
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2013, 2014.
|
||||
|
||||
This file is part of the Sortix C Library.
|
||||
|
||||
|
@ -29,6 +29,6 @@ extern "C" int sigisemptyset(const sigset_t* set)
|
|||
{
|
||||
for ( size_t i = 0; i < sizeof(set->__val) / sizeof(set->__val[0]); i++ )
|
||||
if ( set->__val[i] != 0 )
|
||||
return 1;
|
||||
return 0;
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue