summaryrefslogtreecommitdiff
path: root/sbin/restore/tape.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-08-24 08:07:26 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-08-24 08:07:26 +0000
commit06a63b9a9af61610139011f30db2b84bebda8059 (patch)
tree5cf91c84e73ceac5c7bbae33dcdad0fd2b3d58dc /sbin/restore/tape.c
parentd06fff60b5977e528cc8a160de2fc795a070b365 (diff)
More err()/warn()/etc. argument fixes.
Diffstat (limited to 'sbin/restore/tape.c')
-rw-r--r--sbin/restore/tape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c
index 4355ec4b0ed..fb0c022a09d 100644
--- a/sbin/restore/tape.c
+++ b/sbin/restore/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.10 1997/07/25 19:13:13 mickey Exp $ */
+/* $OpenBSD: tape.c,v 1.11 1997/08/24 08:07:23 downsj Exp $ */
/* $NetBSD: tape.c,v 1.26 1997/04/15 07:12:25 lukem Exp $ */
/*
@@ -189,7 +189,7 @@ setup()
else
mt = open(magtape, O_RDONLY, 0);
if (mt < 0)
- err(1, magtape);
+ err(1, "%s", magtape);
volno = 1;
setdumpnum();
FLUSHTAPEBUF();