summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-06 00:32:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-06 00:32:48 +0000
commit120bcf6a81b55fc63a7a9c2f277b84d8016645e0 (patch)
treea3ec1d9748410c422a3c2823ead0db02571b2412
parent462fab4c617e05fb8273d4b5d7b937a95e6573ea (diff)
pretty
-rw-r--r--usr.bin/error/subr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/error/subr.c b/usr.bin/error/subr.c
index ea88fe1bb23..639f8315ae4 100644
--- a/usr.bin/error/subr.c
+++ b/usr.bin/error/subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr.c,v 1.5 1999/12/04 00:09:36 deraadt Exp $ */
+/* $OpenBSD: subr.c,v 1.6 1999/12/06 00:32:47 deraadt Exp $ */
/* $NetBSD: subr.c,v 1.4 1995/09/10 15:55:15 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: subr.c,v 1.5 1999/12/04 00:09:36 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: subr.c,v 1.6 1999/12/06 00:32:47 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -107,8 +107,8 @@ char *strsave(instring)
{
char *outstring;
- (void)strcpy(outstring = (char *)Calloc(1, strlen(instring) + 1),
- instring);
+ outstring = (char *)Calloc(1, strlen(instring) + 1);
+ strcpy(outstring, instring); /* ok */
return(outstring);
}
/*