diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:25 +0000 |
commit | 4cbb5bf90296bc3034649dd70337038aacd2c00c (patch) | |
tree | ece1751d849fa1027b570fbd37954bd739fe2c3a /cpukit | |
parent | Upgrade to 4.9.2 (diff) | |
download | rtems-4cbb5bf90296bc3034649dd70337038aacd2c00c.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.
Diffstat (limited to 'cpukit')
-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 1808058d40..6cecb06ba8 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 4dfa2131be..3178a2cae6 100644 --- a/cpukit/libfs/src/imfs/deviceio.c +++ b/cpukit/libfs/src/imfs/deviceio.c @@ -241,7 +241,7 @@ off_t device_lseek( int whence ) { - return 0; + return offset; } /* |