Changeset 93a3348 in mainline for kernel/generic/src/adt/btree.c
- Timestamp:
- 2008-06-03T14:48:07Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ed4014
- Parents:
- 2b8b0ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/btree.c
r2b8b0ca r93a3348 125 125 if (!lnode) { 126 126 if (btree_search(t, key, &lnode)) { 127 panic("B-tree %p already contains key % d\n", t, key);127 panic("B-tree %p already contains key %" PRIu64 "\n", t, key); 128 128 } 129 129 } … … 225 225 if (!lnode) { 226 226 if (!btree_search(t, key, &lnode)) { 227 panic("B-tree %p does not contain key % d\n", t, key);227 panic("B-tree %p does not contain key %" PRIu64 "\n", t, key); 228 228 } 229 229 } … … 525 525 } 526 526 } 527 panic("node %p does not contain key % d\n", node, key);527 panic("node %p does not contain key %" PRIu64 "\n", node, key); 528 528 } 529 529 … … 552 552 } 553 553 } 554 panic("node %p does not contain key % d\n", node, key);554 panic("node %p does not contain key %" PRIu64 "\n", node, key); 555 555 } 556 556 … … 971 971 printf("("); 972 972 for (i = 0; i < node->keys; i++) { 973 printf("% llu%s", node->key[i], i < node->keys - 1 ? "," : "");973 printf("%" PRIu64 "%s", node->key[i], i < node->keys - 1 ? "," : ""); 974 974 if (node->depth && node->subtree[i]) { 975 975 list_append(&node->subtree[i]->bfs_link, &head); … … 993 993 printf("("); 994 994 for (i = 0; i < node->keys; i++) 995 printf("% llu%s", node->key[i], i < node->keys - 1 ? "," : "");995 printf("%" PRIu64 "%s", node->key[i], i < node->keys - 1 ? "," : ""); 996 996 printf(")"); 997 997 }
Note:
See TracChangeset
for help on using the changeset viewer.