use memmove instead of bcopy

This commit is contained in:
lukem 1997-10-18 11:23:55 +00:00
parent 7f43427b52
commit 64bd1fd0d2
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1990, 1993\n\
#if 0
static char sccsid[] = "@(#)repquota.c 8.2 (Berkeley) 11/22/94";
#else
__RCSID("$NetBSD: repquota.c,v 1.11 1997/10/17 13:02:09 lukem Exp $");
__RCSID("$NetBSD: repquota.c,v 1.12 1997/10/18 11:23:55 lukem Exp $");
#endif
#endif /* not lint */
@ -360,7 +360,7 @@ addid(id, type, name)
if (id > highid[type])
highid[type] = id;
if (name) {
bcopy(name, fup->fu_name, len + 1);
memmove(fup->fu_name, name, len + 1);
} else {
sprintf(fup->fu_name, "%lu", (u_long)id);
}