From 603fdffe33ca10e416e1c7770517bbc4e85f2fb9 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 8 Apr 1999 08:00:06 +0000 Subject: [PATCH] bcopy -> memmove Suggested by: archie --- lib/libutil/logwtmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c index acbb4c925219..a3cd87e73031 100644 --- a/lib/libutil/logwtmp.c +++ b/lib/libutil/logwtmp.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93"; #else static const char rcsid[] = - "$Id: logwtmp.c,v 1.9 1999/04/07 08:27:04 brian Exp $"; + "$Id: logwtmp.c,v 1.10 1999/04/07 14:03:31 brian Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -65,7 +65,7 @@ trimdomain(char *fullhost, int hostsize) first = 0; if (gethostname(domain, sizeof(domain) - 1) == 0 && (s = strchr(domain, '.'))) - bcopy(s + 1, domain, strlen(s + 1) + 1); + memmove(domain, s + 1, strlen(s + 1) + 1); else domain[0] = '\0'; }