summaryrefslogtreecommitdiffstats
path: root/tetris
diff options
context:
space:
mode:
authortls <tls@NetBSD.org>1997-01-13 06:50:25 +0000
committertls <tls@NetBSD.org>1997-01-13 06:50:25 +0000
commita1870bc7909b311399735583c9363b06af9b0a56 (patch)
treeae58cc3b9fc8e0e9a1fb4ef8e21503155c0e02e2 /tetris
parentff661413fe2d73ce048a4c6a1f36601ae5d1f411 (diff)
downloadbsdgames-darwin-a1870bc7909b311399735583c9363b06af9b0a56.tar.gz
bsdgames-darwin-a1870bc7909b311399735583c9363b06af9b0a56.tar.zst
bsdgames-darwin-a1870bc7909b311399735583c9363b06af9b0a56.zip
bfunctions -> memfunctions
Diffstat (limited to 'tetris')
-rw-r--r--tetris/scores.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tetris/scores.c b/tetris/scores.c
index af3f348b..5a35888d 100644
--- a/tetris/scores.c
+++ b/tetris/scores.c
@@ -1,4 +1,4 @@
-/* $NetBSD: scores.c,v 1.2 1995/04/22 07:42:38 cgd Exp $ */
+/* $NetBSD: scores.c,v 1.3 1997/01/13 06:51:57 tls Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -240,7 +240,7 @@ thisuser()
l = strlen(p);
if (l >= sizeof(u))
l = sizeof(u) - 1;
- bcopy(p, u, l);
+ memcpy(u, p, l);
u[l] = '\0';
return (u);
}