aboutsummaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index cb6910fb0..6f7f7e9ca 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -214,7 +214,7 @@ int ftp_receive(const char *local_path, char *server_path)
214 struct stat sbuf; 214 struct stat sbuf;
215 /* lstat would be wrong here! */ 215 /* lstat would be wrong here! */
216 if (stat(local_path, &sbuf) < 0) { 216 if (stat(local_path, &sbuf) < 0) {
217 bb_perror_msg_and_die("stat"); 217 bb_simple_perror_msg_and_die("stat");
218 } 218 }
219 if (sbuf.st_size > 0) { 219 if (sbuf.st_size > 0) {
220 beg_range = sbuf.st_size; 220 beg_range = sbuf.st_size;