(clock_getcpuclockid): Add missing retval.

This commit is contained in:
Ulrich Drepper 2004-10-04 23:12:07 +00:00
parent 982e38a67d
commit 836fb8e014

View File

@ -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. */