summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ar/ar.c6
-rw-r--r--usr.bin/cdio/cdio.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c
index 32ca26cf82e..0b289e962f3 100644
--- a/usr.bin/ar/ar.c
+++ b/usr.bin/ar/ar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar.c,v 1.4 1997/08/19 07:22:08 denny Exp $ */
+/* $OpenBSD: ar.c,v 1.5 1999/12/15 05:33:23 deraadt Exp $ */
/* $NetBSD: ar.c,v 1.5 1995/03/26 03:27:44 glass Exp $ */
/*-
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ar.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: ar.c,v 1.4 1997/08/19 07:22:08 denny Exp $";
+static char rcsid[] = "$OpenBSD: ar.c,v 1.5 1999/12/15 05:33:23 deraadt Exp $";
#endif
#endif /* not lint */
@@ -97,7 +97,7 @@ main(argc, argv)
if (!(p = malloc((u_int)(strlen(argv[1]) + 2))))
err(1, NULL);
*p = '-';
- (void)strcpy(p + 1, argv[1]);
+ (void)strcpy(p + 1, argv[1]); /* ok */
argv[1] = p;
}
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 3e3c6c8804d..daa1cb01ad6 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.12 1998/12/20 23:53:35 millert Exp $ */
+/* $OpenBSD: cdio.c,v 1.13 1999/12/15 05:33:56 deraadt Exp $ */
/*
* Compact Disc Control Utility by Serge V. Vakulenko <vak@cronyx.ru>.
* Based on the non-X based CD player by Jean-Marc Zucconi and
@@ -222,7 +222,7 @@ int main (argc, argv)
if (p > buf)
*p++ = ' ';
- strcpy (p, *argv);
+ strcpy (p, *argv); /* ok */
p += len;
}
*p = 0;