summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-06 17:47:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-06 17:47:16 +0000
commitce3ba44433edd491d6b55b1f158445c4e38760ea (patch)
tree4fb5493efd2460fa51f2e20893a2cdc6cde33ace /sbin
parenta91544f80120e95cfd38a5591d258fc520d6c1b8 (diff)
whoops
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dump/optr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c
index ccf073580ad..3c0451d88c6 100644
--- a/sbin/dump/optr.c
+++ b/sbin/dump/optr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: optr.c,v 1.5 1996/08/05 11:51:16 deraadt Exp $ */
+/* $OpenBSD: optr.c,v 1.6 1996/08/06 17:47:15 deraadt Exp $ */
/* $NetBSD: optr.c,v 1.4 1996/05/18 16:16:17 jtk Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94";
#else
-static char rcsid[] = "$OpenBSD: optr.c,v 1.5 1996/08/05 11:51:16 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: optr.c,v 1.6 1996/08/06 17:47:15 deraadt Exp $";
#endif
#endif /* not lint */
@@ -275,7 +275,7 @@ sendmes(tty, message)
FILE *f_tty;
(void) strcpy(t, _PATH_DEV);
- (void) strncat(t, sizeof t, tty);
+ (void) strncat(t, tty, sizeof t);
if ((f_tty = fopen(t, "w")) != NULL) {
setbuf(f_tty, buf);