about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/profil.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/profil.c')
-rw-r--r--sysdeps/mach/hurd/profil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c
index be249bbbe3..a2c4e55bf5 100644
--- a/sysdeps/mach/hurd/profil.c
+++ b/sysdeps/mach/hurd/profil.c
@@ -102,7 +102,7 @@ update_waiter (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
 int
 __profile_frequency (void)
 {
-  return profile_tick;
+  return 1000000 / profile_tick;
 }
 libc_hidden_def (__profile_frequency)