mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 23:30:07 +00:00
(clock_getcpuclockid): Add missing retval.
This commit is contained in:
parent
982e38a67d
commit
836fb8e014
@ -34,6 +34,8 @@ clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
|
||||
if (pid != 0 && pid != getpid ())
|
||||
return EPERM;
|
||||
|
||||
int retval = ENOENT;
|
||||
|
||||
if (has_cpuclock () > 0)
|
||||
{
|
||||
/* Store the number. */
|
||||
|
Loading…
Reference in New Issue
Block a user