Ignore:
Timestamp:
Aug 22, 2018, 11:55:48 PM (3 years ago)
Author:
viala@…
Message:

Refactoring assert calling to conform with new assert macro.

Made with this command for the general case.
find ./kernel/ hal/ -name "*.c" | xargs sed -i -e '/assert(/ s/,[ ]*FUNCTION[ ]*,/,/'

And some done by hand.

File:
1 edited

Legend:

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

    r469 r492  
    173173    {
    174174        nbytes = 0;
    175         assert( false , __FUNCTION__ , "file type %d non supported\n", type );
     175        assert( false , "file type %d non supported\n", type );
    176176    }
    177177
Note: See TracChangeset for help on using the changeset viewer.