diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-28 20:01:31 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-28 20:01:31 +0200 |
commit | 58cdca3984beb4e1019ef5ccf1dd7361f032a9a6 (patch) | |
tree | 922928fdb79cbdb6a02ffbeab7948c03ad501656 /networking/tftp.c | |
parent | e52b735231bda70d811e4f9ef0e21fb2c7af96a2 (diff) | |
download | busybox-w32-1_16_1.tar.gz busybox-w32-1_16_1.tar.bz2 busybox-w32-1_16_1.zip |
apply post-1.16.0 fixes, bump version to 1.16.11_16_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 8d6038853..b2c3c033c 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -308,7 +308,7 @@ static int tftp_protocol( | |||
308 | 308 | ||
309 | if (!ENABLE_TFTP || our_lsa) { /* tftpd */ | 309 | if (!ENABLE_TFTP || our_lsa) { /* tftpd */ |
310 | /* Open file (must be after changing user) */ | 310 | /* Open file (must be after changing user) */ |
311 | local_fd = open(local_file, open_mode); | 311 | local_fd = open(local_file, open_mode, 0666); |
312 | if (local_fd < 0) { | 312 | if (local_fd < 0) { |
313 | error_pkt_reason = ERR_NOFILE; | 313 | error_pkt_reason = ERR_NOFILE; |
314 | strcpy((char*)error_pkt_str, "can't open file"); | 314 | strcpy((char*)error_pkt_str, "can't open file"); |