diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 21:13:36 +0000 |
commit | c61494857170e76bedb75037c2b05e9cd673abd2 (patch) | |
tree | c3683a5236d9d131acf9c7f55976c239fbffa4b7 | |
parent | 9f61de9ef614225675a4ea028c40c1b6860aba63 (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 cbbc83a855..986e84fc83 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-09 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1376/filesystem diff --git a/cpukit/libfs/src/imfs/deviceio.c b/cpukit/libfs/src/imfs/deviceio.c index 13c6829657..e088a7f8d7 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; } /* |