Changeset 375


Ignore:
Timestamp:
Aug 14, 2017, 2:53:59 PM (4 years ago)
Author:
max@…
Message:

Use panic().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/do_syscall.c

    r50 r375  
    3434static inline int sys_undefined()
    3535{
    36     printk("\n[PANIC] in %s : undefined system call\n", __FUNCTION__ );
    37     hal_core_sleep();
     36    panic("undefined system call");
    3837    return 0;
    3938}
Note: See TracChangeset for help on using the changeset viewer.