Ignore:
Timestamp:
Aug 25, 2018, 6:30:27 PM (3 years ago)
Author:
viala@…
Message:

[syscall] Use assert instead of printk+hal_core_sleep.

File:
1 edited

Legend:

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

    r457 r508  
    186186                }
    187187        /////////
    188             default:
    189         {
    190             printk("\n[PANIC] in %s : illegal operation type\n", __FUNCTION__ );
    191             hal_core_sleep();
     188        default: {
     189            assert ( false, "illegal operation type <%x>\n", operation );
    192190        }
    193191        }   // end switch
Note: See TracChangeset for help on using the changeset viewer.