diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:15 +0000 |
commit | 434bc85b0279d30f379399a6d618496b4248e0fc (patch) | |
tree | e04f04b4166adcf7b6e7d00d275c690c088845e3 | |
parent | 2009-03-12 Daniel Hellstrom <daniel@gaisler.com> (diff) | |
download | rtems-434bc85b0279d30f379399a6d618496b4248e0fc.tar.bz2 |
2009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>
PR 1378/filesystem
* libfs/src/imfs/deviceio.c: IMFS device lseek should return the
current offset.
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/deviceio.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <vattam.santosh@gmail.com> + + PR 1378/filesystem + * libfs/src/imfs/deviceio.c: IMFS device lseek should return the + current offset. + 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> * 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; } /* |