diff options
Diffstat (limited to 'bin/mv/mv.c')
-rw-r--r-- | bin/mv/mv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c index aa37d0229f72b..8fa66bb78f178 100644 --- a/bin/mv/mv.c +++ b/bin/mv/mv.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)mv.c 5.11 (Berkeley) 4/3/91";*/ -static char rcsid[] = "$Id: mv.c,v 1.2 1993/11/22 23:54:24 jtc Exp $"; +static char rcsid[] = "$Id: mv.c,v 1.3 1994/04/16 00:51:13 davidg Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -229,7 +229,7 @@ fastcopy(from, to, sbp) (void)close(from_fd); return(1); } - if (!blen && !(bp = malloc(blen = sbp->st_blksize))) { + if (!blen && !(bp = malloc(blen = sbp->st_blksize * 4))) { error(NULL); return(1); } |