diff --git a/src/sys/ubixfsv2/main.cpp b/src/sys/ubixfsv2/main.cpp index f9825e2..09aa8f2 100644 --- a/src/sys/ubixfsv2/main.cpp +++ b/src/sys/ubixfsv2/main.cpp @@ -26,7 +26,7 @@ } // for k if (!tree->Insert(inode)) cout << "Insert() failed" << endl; } // for i - cout << "i made it to: " << i << endl; +// cout << "i made it to: " << i << endl; #if 0 inode = (ubixfsInode *)malloc(sizeof(ubixfsInode)); memset(inode, 0, sizeof(ubixfsInode)); @@ -89,15 +89,16 @@ cout << "---Inserting " << inode->name << "---" << endl; tree->Insert(inode); #endif -#if 0 + i = 0; ubixfsInode * tmpInode = tmpInode = tree->GetFirstNode(); if (tmpInode == NULL) cout << "GetFirstNode() returns null" << endl; while (tmpInode != NULL) { - cout << "node[" << i++ << "]: " << tmpInode->name << endl; + //cout << "node[" << i++ << "]: " << tmpInode->name << endl; + cout << tmpInode->name << endl; tmpInode = tmpInode->next; } // while -#endif + // cout << sizeof(struct bNode) << endl; // tree->Info();