Return 0xff from setlogmask() instead of falling off the end of
the int-returning function without returning a value. The 0xff value is taken from the C library and is the default log mask.
This commit is contained in:
parent
fca2c8bedd
commit
97b59ebcdc
|
@ -16,6 +16,7 @@ closelog(void)
|
|||
int
|
||||
setlogmask(int mask)
|
||||
{
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
__strong_alias(_syslog, syslog)
|
||||
|
|
Loading…
Reference in New Issue