Changeset f651e80 in mainline for kernel/generic/src/adt/btree.c


Ignore:
Timestamp:
2009-01-08T12:07:38Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7447572
Parents:
c571f42
Message:

Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/adt/btree.c

    rc571f42 rf651e80  
    125125        if (!lnode) {
    126126                if (btree_search(t, key, &lnode)) {
    127                         panic("B-tree %p already contains key %" PRIu64 "\n", t, key);
     127                        panic("B-tree %p already contains key %" PRIu64 ".", t, key);
    128128                }
    129129        }
     
    225225        if (!lnode) {
    226226                if (!btree_search(t, key, &lnode)) {
    227                         panic("B-tree %p does not contain key %" PRIu64 "\n", t, key);
     227                        panic("B-tree %p does not contain key %" PRIu64 ".", t, key);
    228228                }
    229229        }
     
    525525                }
    526526        }
    527         panic("node %p does not contain key %" PRIu64 "\n", node, key);
     527        panic("Node %p does not contain key %" PRIu64 ".", node, key);
    528528}
    529529
     
    552552                }
    553553        }
    554         panic("node %p does not contain key %" PRIu64 "\n", node, key);
     554        panic("Node %p does not contain key %" PRIu64 ".", node, key);
    555555}
    556556
     
    694694                        return i - (int) (right != false);
    695695        }
    696         panic("node %p does not contain subtree %p\n", node, subtree);
     696        panic("Node %p does not contain subtree %p.", node, subtree);
    697697}
    698698
Note: See TracChangeset for help on using the changeset viewer.