Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c16013b in mainline


Ignore:
Timestamp:
2010-02-01T19:09:41Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
0055cfd
Parents:
fc2e71e
Message:

Use assert() instead of abort() to improve debugability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    rfc2e71e rc16013b  
    168168                    (nodep->index == key[NODES_KEY_INDEX]));
    169169        default:
    170                 abort();
     170                assert((keys == 1) || (keys == 2));
    171171        }
    172172}
Note: See TracChangeset for help on using the changeset viewer.