Changeset 494 for trunk/kernel


Ignore:
Timestamp:
Aug 22, 2018, 11:56:45 PM (6 years ago)
Author:
viala@…
Message:

Fix an error in an assert, style on an other.

Location:
trunk/kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/fs/devfs.c

    r492 r494  
    471471    else
    472472    {
    473         assert( false ,
    474         "%s does not support direct user access", chdev_func_str(func) );
     473        assert( false , "%s does not support direct user access",
     474          chdev_func_str(func) );
    475475
    476476        return -1;
  • trunk/kernel/kern/alarm.c

    r23 r494  
    8282                info = list_element(iter, struct alarm_info_s, list);
    8383
    84                 assert((info->signature == ALRM_INFO_ID) && "Not an ALRM info object");
     84                assert((info->signature == ALRM_INFO_ID), "Not an ALRM info object");
    8585
    8686                if(tm_msec < info->tm_wakeup)
Note: See TracChangeset for help on using the changeset viewer.