From 434bc85b0279d30f379399a6d618496b4248e0fc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Mar 2009 21:13:15 +0000 Subject: 2009-03-12 Santosh G Vattam PR 1378/filesystem * libfs/src/imfs/deviceio.c: IMFS device lseek should return the current offset. --- cpukit/ChangeLog | 6 ++++++ cpukit/libfs/src/imfs/deviceio.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index cce6239b9e..0f819b4a41 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-03-12 Santosh G Vattam + + PR 1378/filesystem + * libfs/src/imfs/deviceio.c: IMFS device lseek should return the + current offset. + 2009-03-12 Joel Sherrill * ftpd/ftpd.h: Add extern C. diff --git a/cpukit/libfs/src/imfs/deviceio.c b/cpukit/libfs/src/imfs/deviceio.c index 719b3e830c..62b1381233 100644 --- a/cpukit/libfs/src/imfs/deviceio.c +++ b/cpukit/libfs/src/imfs/deviceio.c @@ -215,7 +215,7 @@ off_t device_lseek( int whence ) { - return 0; + return offset; } /* -- cgit v1.2.3