This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / kernel / itimer.c
index 1a95e09..5bf6c88 100644 (file)
@@ -68,7 +68,9 @@ void it_real_fn(unsigned long __data)
        struct task_struct * p = (struct task_struct *) __data;
        unsigned long interval;
 
-       send_group_sig_info(SIGALRM, SEND_SIG_PRIV, p);
+       if (send_group_sig_info(SIGALRM, SEND_SIG_PRIV, p))
+               printk("*warning*: failed to send SIGALRM to %u\n", p->pid);
+
        interval = p->it_real_incr;
        if (interval) {
                if (interval > (unsigned long) LONG_MAX)
@@ -134,7 +136,7 @@ asmlinkage long sys_setitimer(int which,
        } else
                memset((char *) &set_buffer, 0, sizeof(set_buffer));
 
-       error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : 0);
+       error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL);
        if (error || !ovalue)
                return error;