From 3cec30848cffa7709d0373f2053e4dc8467fea29 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Fri, 30 May 2008 19:06:30 +0000 Subject: [PATCH] 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 --- src/system/kernel/fs/vfs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/system/kernel/fs/vfs.cpp b/src/system/kernel/fs/vfs.cpp index edf4ab0328..055760ffd2 100644 --- a/src/system/kernel/fs/vfs.cpp +++ b/src/system/kernel/fs/vfs.cpp @@ -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;