summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/strcpy.c')
-rw-r--r--sys/lib/libkern/strcpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/strcpy.c b/sys/lib/libkern/strcpy.c
index be82b0a1218..c7a3415bb3a 100644
--- a/sys/lib/libkern/strcpy.c
+++ b/sys/lib/libkern/strcpy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcpy.c,v 1.5 2003/05/10 21:44:53 deraadt Exp $ */
+/* $OpenBSD: strcpy.c,v 1.6 2003/05/12 17:09:18 deraadt Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -35,7 +35,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/
-static char *rcsid = "$OpenBSD: strcpy.c,v 1.5 2003/05/10 21:44:53 deraadt Exp $";
+static char *rcsid = "$OpenBSD: strcpy.c,v 1.6 2003/05/12 17:09:18 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#if !defined(_KERNEL) && !defined(_STANDALONE)
@@ -44,7 +44,7 @@ static char *rcsid = "$OpenBSD: strcpy.c,v 1.5 2003/05/10 21:44:53 deraadt Exp $
#include <lib/libkern/libkern.h>
#endif
-__warn_references(sprintf, "warning: strcpy() is often misused, please use strlcpy()");
+__warn_references(strcpy, "warning: strcpy() is often misused, please use strlcpy()");
char *
strcpy(to, from)