Changeset 375 for trunk/kernel


Ignore:
Timestamp:
Aug 14, 2017, 2:53:59 PM (7 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.