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/close.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/src/close.c') diff --git a/os/src/close.c b/os/src/close.c index 90b22ed..5da8b2c 100644 --- a/os/src/close.c +++ b/os/src/close.c @@ -1,9 +1,10 @@ #include -#include #include #include "fio.h" +#include "osdebug.h" int _close_r(struct _reent * reent, int fd) { +// DBGOUT("_close_r(%p, %i)\r\n", reent, fd); if (!fio_is_open(fd)) { reent->_errno = EBADF; return -1; -- cgit v1.2.3