Fix build with TRACE_VFS enabled and also fix a warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25726 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-05-30 19:06:30 +00:00
parent 0fc56ed57b
commit 3cec30848c

View File

@ -3517,8 +3517,8 @@ extern "C" status_t
vfs_get_fs_node_from_path(fs_volume *volume, const char *path, bool kernel,
void **_node)
{
TRACE(("vfs_get_fs_node_from_path(mountID = %ld, path = \"%s\", kernel %d)\n",
mountID, path, kernel));
TRACE(("vfs_get_fs_node_from_path(volume = %p, path = \"%s\", kernel %d)\n",
volume, path, kernel));
KPath pathBuffer(B_PATH_NAME_LENGTH + 1);
if (pathBuffer.InitCheck() != B_OK)
@ -3666,7 +3666,7 @@ vfs_get_module_path(const char *basePath, const char *moduleName,
return B_OK;
} else {
TRACE(("vfs_get_module_path(): something is strange here: %d...\n",
TRACE(("vfs_get_module_path(): something is strange here: 0x%08lx...\n",
file->type));
status = B_ERROR;
dir = file;