summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorSoren Sandmann <sandmann@redhat.com>2005-11-05 04:58:16 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2005-11-05 04:58:16 +0000
commitcf761a2a7095eec43b0be515cb24ef218df6fc20 (patch)
tree365a882a0b1fdca0ddc7181c98a6bab257e221ca /module
parent5bddcf4af9c3c8700b0661051e02db4f9e8faf6d (diff)
Add copyright statement.
2005-11-04 Soren Sandmann <sandmann@redhat.com> * collector.[ch]: Add copyright statement. * collector.c (on_read): Handle time getting set backwards. * collector.c: Remove unused empty_filedescriptor() function.
Diffstat (limited to 'module')
-rw-r--r--module/sysprof-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/sysprof-module.c b/module/sysprof-module.c
index 24529fb..c682eed 100644
--- a/module/sysprof-module.c
+++ b/module/sysprof-module.c
@@ -251,7 +251,7 @@ static int timer_notify (struct pt_regs *regs)
i = 0;
if (!is_user)
{
- trace->addresses[i++] = 0x01;
+ trace->addresses[i++] = (void *)0x01;
regs = (void *)current->thread.esp0 - sizeof (struct pt_regs);
}