From f9ba8a1b61a739217414aee7dd6bd7d3c63e0b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 17 May 2004 10:01:17 +0000 Subject: [PATCH] Last patch was broken, thanks to Jack Burton for notifying me. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7606 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/vfs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kernel/core/fs/vfs.cpp b/src/kernel/core/fs/vfs.cpp index 5f51a7313f..8a78050c7b 100755 --- a/src/kernel/core/fs/vfs.cpp +++ b/src/kernel/core/fs/vfs.cpp @@ -2889,7 +2889,7 @@ attr_remove(int fd, const char *name, bool kernel) else status = EROFS; - put_fd(fd); + put_fd(descriptor); return status; } @@ -2929,9 +2929,9 @@ attr_rename(int fromfd, const char *fromName, int tofd, const char *toName, bool status = EROFS; err1: - put_fd(tofd); + put_fd(toDescriptor); err: - put_fd(fromfd); + put_fd(fromDescriptor); return status; }