From 6cf8d733aac4d2ef5d4abc5ddfd18cec47033e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 9 Sep 2002 09:51:51 +0000 Subject: [PATCH] just changed a comment in rootfs_open(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1005 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/rootfs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/kernel/core/fs/rootfs.c b/src/kernel/core/fs/rootfs.c index 5c65968023..354988dc18 100755 --- a/src/kernel/core/fs/rootfs.c +++ b/src/kernel/core/fs/rootfs.c @@ -481,7 +481,10 @@ static status_t rootfs_open(fs_cookie _fs, fs_vnode _v, int oflags, file_cookie *_cookie) { // allow to open the file, but it can't be done anything with it - *_cookie = NULL; // help rootfs_free_cookie() to knows if a rootfs_cookie should be free() or not! + + *_cookie = NULL; + // initialize the cookie, because rootfs_free_cookie() relies on it + return B_OK; }