X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Fio.c;h=f2d47ce18f68e551aebf2d6cffe982443b693cd7;hb=de2ae10743172075f2d527780bdfd890ccddb8e7;hp=8ff15f56c6a7ec33895605ff2326e843c1dbbf4c;hpb=a4ce2e60f783c9e71447edc03f20f937b8abf35a;p=tpg%2Facess2.git diff --git a/Kernel/vfs/io.c b/Kernel/vfs/io.c index 8ff15f56..f2d47ce1 100644 --- a/Kernel/vfs/io.c +++ b/Kernel/vfs/io.c @@ -103,7 +103,7 @@ Uint64 VFS_Write(int FD, Uint64 Length, void *Buffer) /** * \fn Uint64 VFS_WriteAt(int FD, Uint64 Offset, Uint64 Length, void *Buffer) - * \brief Write data to a file at a given offset (atomic) + * \brief Write data to a file at a given offset */ Uint64 VFS_WriteAt(int FD, Uint64 Offset, Uint64 Length, void *Buffer) { @@ -150,6 +150,9 @@ int VFS_Seek(int FD, Sint64 Offset, int Whence) h = VFS_GetHandle(FD); if(!h) return -1; + //Log_Debug("VFS", "VFS_Seek: (fd=0x%x, Offset=0x%llx, Whence=%i)", + // FD, Offset, Whence); + // Set relative to current position if(Whence == 0) { h->Position += Offset;