Fixed wrong directory name issue, strlen() was off by one.

This commit is contained in:
Bahadir Balban
2008-04-15 01:51:13 +01:00
parent a9420d3dc9
commit fb249b0c5b
5 changed files with 6 additions and 3 deletions

View File

@@ -81,6 +81,8 @@ struct vnode *generic_vnode_lookup(struct vnode *thisnode,
* where path = { "//comp1/comp2", "/", "/comp1/comp2", "comp1/comp2" }
*/
printf("Looking up: %s\n", pdata->path);
/* Handle the special root case */
if (pdata->root)
component = pathdata_handle_root(pdata);