Fixed debug output in bfs_setflags().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3379 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5b3f1d0cda
commit
f2024b1158
@ -700,7 +700,7 @@ bfs_ioctl(void *_ns, void *_node, void *_cookie, int cmd, void *buffer, size_t b
|
|||||||
int
|
int
|
||||||
bfs_setflags(void *_ns, void *_node, void *_cookie, int flags)
|
bfs_setflags(void *_ns, void *_node, void *_cookie, int flags)
|
||||||
{
|
{
|
||||||
FUNCTION_START(("node = %p, flags = %d", node, flags));
|
FUNCTION_START(("node = %p, flags = %d", _node, flags));
|
||||||
|
|
||||||
file_cookie *cookie = (file_cookie *)_cookie;
|
file_cookie *cookie = (file_cookie *)_cookie;
|
||||||
cookie->open_mode = (cookie->open_mode & ~O_APPEND) | (flags & O_APPEND);
|
cookie->open_mode = (cookie->open_mode & ~O_APPEND) | (flags & O_APPEND);
|
||||||
|
Loading…
Reference in New Issue
Block a user