summaryrefslogtreecommitdiff
path: root/usr.bin/fetch/main.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-02-05 19:59:18 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-02-05 19:59:18 +0000
commit76dafb8954ea032dfedfe51a5bb873fc2012758d (patch)
tree3eb28344fec90f861cb268c3467fefc2a8aee72f /usr.bin/fetch/main.c
parentfb425165411d2dfee76d17e38496fd543b121507 (diff)
Notes
Diffstat (limited to 'usr.bin/fetch/main.c')
-rw-r--r--usr.bin/fetch/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c
index 09d0ae3cdf33..1b899a2b52d0 100644
--- a/usr.bin/fetch/main.c
+++ b/usr.bin/fetch/main.c
@@ -300,7 +300,7 @@ display(struct fetch_state *fs, off_t size, ssize_t n)
gettimeofday(&t0, &tz);
t_start = t0;
bytes = pr = 0;
- s = malloc(strlen(fs->fs_outputfile) + 50);
+ s = safe_malloc(strlen(fs->fs_outputfile) + 50);
if (size > 0)
sprintf (s, "Receiving %s (%qd bytes)%s", fs->fs_outputfile,
(quad_t)size,