From 7adec93fe86904b33ce8f2190d7830a3fb24709c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 1 Nov 2004 19:48:40 +0000 Subject: [PATCH] Added some minor debug output, and a ToDo comment for file_seek(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9714 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/vfs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kernel/core/fs/vfs.cpp b/src/kernel/core/fs/vfs.cpp index af05c61025..b410f8c89c 100755 --- a/src/kernel/core/fs/vfs.cpp +++ b/src/kernel/core/fs/vfs.cpp @@ -2562,6 +2562,9 @@ file_seek(struct file_descriptor *descriptor, off_t pos, int seekType) { off_t offset; + FUNCTION(("file_seek(pos = %Ld, seekType = %d)\n", pos, seekType)); + // ToDo: seek should fail for pipes and FIFOs... + switch (seekType) { case SEEK_SET: offset = 0;