summaryrefslogtreecommitdiff
path: root/sbin/dump/main.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-11-24 01:25:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-11-24 01:25:48 +0000
commit30b0ee81e731ac75304e7cf5f411de88280bebfc (patch)
tree1d0707cf3dcfbfc9582ce0a8f10f531ac2f27e08 /sbin/dump/main.c
parent695e05363173fa5d7e4d674686f3f11a864b8504 (diff)
Wall, and do not let tapesize overflow
Diffstat (limited to 'sbin/dump/main.c')
-rw-r--r--sbin/dump/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 5ddd007a07b..899c0cb869b 100644
--- a/sbin/dump/main.c
+++ b/sbin/dump/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.24 1998/08/22 07:44:03 mickey Exp $ */
+/* $OpenBSD: main.c,v 1.25 1998/11/24 01:25:47 deraadt Exp $ */
/* $NetBSD: main.c,v 1.14 1997/06/05 11:13:24 lukem Exp $ */
/*-
@@ -479,7 +479,7 @@ main(argc, argv)
tapesize += (etapes - 1) *
(howmany(mapsize * sizeof(char), TP_BSIZE) + 1);
tapesize += etapes + 10; /* headers + 10 trailer blks */
- msg("estimated %ld tape blocks on %3.2f tape(s).\n",
+ msg("estimated %qd tape blocks on %3.2f tape(s).\n",
tapesize, fetapes);
}