From 3ca9b28c5b04220565c206bd73d9ebb48b64db3b Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 2 Feb 2011 08:35:38 -0800 Subject: Making a sample code for the 'romfs' thingy. --- os/src/lseek.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/src/lseek.c') diff --git a/os/src/lseek.c b/os/src/lseek.c index 1cb0234..1e904a5 100644 --- a/os/src/lseek.c +++ b/os/src/lseek.c @@ -2,9 +2,11 @@ #include #include #include "fio.h" +#include "osdebug.h" _off_t _lseek_r(struct _reent * reent, int fd, _off_t seek, int wheel) { off_t r; +// DBGOUT("_lseek_r(%p, %i, %i, %i)\r\n", reent, fd, seek, wheel); if ((wheel != SEEK_SET) && (wheel != SEEK_CUR) && (wheel != SEEK_END)) { reent->_errno = EINVAL; -- cgit v1.2.3