Diff for /libaitsched/src/hooks.c between versions 1.34 and 1.34.2.1

version 1.34, 2019/01/14 15:58:50 version 1.34.2.1, 2019/01/31 22:31:40
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004 - 2018Copyright 2004 - 2019
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 723  sched_hook_node(void *task, void *arg) Line 723  sched_hook_node(void *task, void *arg)
         sched_task_t *t = task;          sched_task_t *t = task;
         struct kevent chg[1];          struct kevent chg[1];
         struct timespec timeout = { 0, 0 };          struct timespec timeout = { 0, 0 };
        u_int addflags = (u_int) arg;        u_int addflags = (u_int) (uintptr_t) arg;
   
         if (!t || !TASK_ROOT(t))          if (!t || !TASK_ROOT(t))
                 return (void*) -1;                  return (void*) -1;

Removed from v.1.34  
changed lines
  Added in v.1.34.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>