diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:50 +0000 |
commit | 33a1163c7c15c89b26699287f259215de1c69088 (patch) | |
tree | 3470d9e14717cd38e48a5f89e3f8a81fb7d08540 | |
parent | 03f6250ece1b22599b98cc6a67134d49e0d199cf (diff) |
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 47e56e17b5..38d9b44754 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-02 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1388/cpukit diff --git a/cpukit/libfs/src/imfs/deviceio.c b/cpukit/libfs/src/imfs/deviceio.c index 8c44e0a223..825b54cac3 100644 --- a/cpukit/libfs/src/imfs/deviceio.c +++ b/cpukit/libfs/src/imfs/deviceio.c @@ -241,7 +241,7 @@ int device_lseek( int whence ) { - return 0; + return offset; } /* |