summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-04 17:14:06 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-04 17:14:06 +0000
commit8ffe14563e8d762bc10fae5b0f90ed3eadf49e01 (patch)
treed1ffdd007f5c18185941f7e00dbc49f5473e765e /cpukit
parent2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8ffe14563e8d762bc10fae5b0f90ed3eadf49e01.tar.bz2
* libnetworking/lib/ftpfs.c: Enable write and mount filesystem
with read-write access.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/lib/ftpfs.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 77ba55c2c0..2b8b3c86fc 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * libnetworking/lib/ftpfs.c: Enable write and mount filesystem
+ with read-write access.
+
2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_ppp.h: Eliminate pppattach, pppintr
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c
index 1ccf70a7a0..bff0546489 100644
--- a/cpukit/libnetworking/lib/ftpfs.c
+++ b/cpukit/libnetworking/lib/ftpfs.c
@@ -210,7 +210,7 @@ int rtems_bsdnet_initialize_ftp_filesystem (void)
status = mount(
&entry,
&rtems_ftp_ops,
- RTEMS_FILESYSTEM_READ_ONLY,
+ RTEMS_FILESYSTEM_READ_WRITE,
NULL,
FTP_PATHNAME_PREFIX
);
@@ -1019,7 +1019,7 @@ ssize_t rtems_ftp_write(
size_t count
)
{
- int eno = EIO;
+ int eno = 0;
struct ftpStream *fsp;
size_t want_cnt;
ssize_t wr_cnt;