diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-12-06 00:32:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-12-06 00:32:48 +0000 |
commit | 120bcf6a81b55fc63a7a9c2f277b84d8016645e0 (patch) | |
tree | a3ec1d9748410c422a3c2823ead0db02571b2412 | |
parent | 462fab4c617e05fb8273d4b5d7b937a95e6573ea (diff) |
pretty
-rw-r--r-- | usr.bin/error/subr.c | 8 |
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); } /* |