Changeset 467 for trunk/kernel


Ignore:
Timestamp:
Aug 19, 2018, 4:34:30 PM (6 years ago)
Author:
viala@…
Message:

FIX: Undefined Macro define in sys_thread_wakeup

Found with -Wundef.

syscalls/sys_thread_wakeup.c: In function 'sys_thread_wakeup':
syscalls/sys_thread_wakeup.c:53:5: warning: "DEBUG_SISCALLS_ERROR" is not
defined, evaluates to 0 [-Wundef]

#if DEBUG_SISCALLS_ERROR

~

syscalls/sys_thread_wakeup.c:66:5: warning: "DEBUG_SISCALLS_ERROR" is not
defined, evaluates to 0 [-Wundef]

#if DEBUG_SISCALLS_ERROR

~

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_thread_wakeup.c

    r457 r467  
    5151        {
    5252
    53 #if DEBUG_SISCALLS_ERROR
     53#if DEBUG_SYSCALLS_ERROR
    5454printk("\n[ERROR] in %s : illegal trdid argument %x\n", __FUNCTION__, trdid );
    5555#endif
     
    6464    {
    6565
    66 #if DEBUG_SISCALLS_ERROR
     66#if DEBUG_SYSCALLS_ERROR
    6767printk("\n[ERROR] in %s : cannot find thread %x in process %x/n",
    6868__FUNCTION__ , trdid , this->process->pid );
Note: See TracChangeset for help on using the changeset viewer.