summaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-20 21:46:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-20 21:46:07 +0000
commit02dd5a588a7b938eafab08470f033993af9144ec (patch)
treebfdff70e22ba01772d9261b52ccf0280abb599f2 /sbin/dump
parent801a9786996d1b74195351ba4e10e4ffa8b96926 (diff)
quit() wants the \n
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/main.c6
-rw-r--r--sbin/dump/tape.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 899c0cb869b..2c34226bc93 100644
--- a/sbin/dump/main.c
+++ b/sbin/dump/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.25 1998/11/24 01:25:47 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.26 1999/02/20 21:46:05 deraadt Exp $ */
/* $NetBSD: main.c,v 1.14 1997/06/05 11:13:24 lukem Exp $ */
/*-
@@ -409,10 +409,10 @@ main(argc, argv)
dev_bsize = sblock->fs_fsize / fsbtodb(sblock, 1);
dev_bshift = ffs(dev_bsize) - 1;
if (dev_bsize != (1 << dev_bshift))
- quit("dev_bsize (%d) is not a power of 2", dev_bsize);
+ quit("dev_bsize (%d) is not a power of 2\n", dev_bsize);
tp_bshift = ffs(TP_BSIZE) - 1;
if (TP_BSIZE != (1 << tp_bshift))
- quit("TP_BSIZE (%d) is not a power of 2", TP_BSIZE);
+ quit("TP_BSIZE (%d) is not a power of 2\n", TP_BSIZE);
#ifdef FS_44INODEFMT
if (sblock->fs_inodefmt >= FS_44INODEFMT)
spcl.c_flags |= DR_NEWINODEFMT;
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c
index 9560adef625..5b98bb23641 100644
--- a/sbin/dump/tape.c
+++ b/sbin/dump/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.7 1998/04/26 18:11:04 deraadt Exp $ */
+/* $OpenBSD: tape.c,v 1.8 1999/02/20 21:46:06 deraadt Exp $ */
/* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94";
#else
-static char rcsid[] = "$OpenBSD: tape.c,v 1.7 1998/04/26 18:11:04 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: tape.c,v 1.8 1999/02/20 21:46:06 deraadt Exp $";
#endif
#endif /* not lint */
@@ -481,7 +481,7 @@ rollforward()
q += q->count;
}
if (prev == NULL)
- quit("rollforward: protocol botch");
+ quit("rollforward: protocol botch\n");
if (prev->dblk != 0)
prev->count -= 1;
else