Skip to content

Commit

Permalink
(clock_getcpuclockid): Add missing retval.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Oct 4, 2004
1 parent 982e38a commit 836fb8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 836fb8e

Please sign in to comment.