projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d9b02a
)
2004-03-17 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Thu, 18 Mar 2004 07:47:54 +0000
(07:47 +0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 18 Mar 2004 07:47:54 +0000
(07:47 +0000)
* sysdeps/unix/sysv/linux/timer_create.c (timer_create): Pass missing
first argument to clock_getres so we ever enable kernel timers.
nptl/sysdeps/unix/sysv/linux/timer_create.c
patch
|
blob
|
history
diff --git
a/nptl/sysdeps/unix/sysv/linux/timer_create.c
b/nptl/sysdeps/unix/sysv/linux/timer_create.c
index
90e10b5
..
ca6ff6c
100644
(file)
--- a/
nptl/sysdeps/unix/sysv/linux/timer_create.c
+++ b/
nptl/sysdeps/unix/sysv/linux/timer_create.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003
,2004
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
@@
-134,7
+134,8
@@
timer_create (clock_id, evp, timerid)
INTERNAL_SYSCALL_DECL (err);
struct timespec ts;
int res;
- res = INTERNAL_SYSCALL (clock_getres, err, 1, &ts);
+ res = INTERNAL_SYSCALL (clock_getres, err, 2,
+ CLOCK_REALTIME, &ts);
__no_posix_timers = (INTERNAL_SYSCALL_ERROR_P (res, err)
? -1 : 1);
}