From 381c5247e0555bd114924f97c6142594a04dd436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 10 Jan 2005 07:21:08 +0000 Subject: [PATCH] Fixed compilation in debug mode. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10630 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/file_systems/bfs/kernel_interface.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp b/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp index d9442d4865..a38e36041d 100644 --- a/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp +++ b/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp @@ -1,6 +1,6 @@ /* kernel_interface - file system interface to BeOS' vnode layer * - * Copyright 2001-2004, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2001-2005, Axel Dörfler, axeld@pinc-software.de. * This file may be used under the terms of the MIT License. */ @@ -175,9 +175,7 @@ bfs_initialize(const char *deviceName, void *parms, size_t len) { FUNCTION_START(("deviceName = %s, parameter len = %ld\n", deviceName, len)); - // This function is not available from the outside in BeOS - // It will be similarly implemented in OpenBeOS, though - the - // backend (to create the file system) is already done; just + // The backend (to create the file system) is already done; just // call Volume::Initialize(). return B_ERROR; @@ -1693,10 +1691,10 @@ static status_t bfs_rename_attr(fs_volume _fs, fs_vnode fromFile, const char *fromName, fs_vnode toFile, const char *toName) { - FUNCTION_START(("name = \"%s\", to = \"%s\"\n", oldname, newname)); + FUNCTION_START(("name = \"%s\", to = \"%s\"\n", fromName, toName)); // ToDo: implement bfs_rename_attr()! - // I'll skip the implementation here, and will do it for OpenBeOS - at least + // I'll skip the implementation here, and will do it for Haiku - at least // there will be an API to move one attribute to another file, making that // function much more complicated - oh joy ;-)