diff options
| author | Brian Somers <brian@FreeBSD.org> | 1999-04-08 08:00:06 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1999-04-08 08:00:06 +0000 |
| commit | c1df83d996d94197c0e0c202a5cbb43a730330c9 (patch) | |
| tree | f476ef88fc060346edf4389a58ccd2bd01a8c4fb /lib/libutil/logwtmp.c | |
| parent | 2f494cb24f4d816839ccfd00a143d48fe8d0d124 (diff) | |
Notes
Diffstat (limited to 'lib/libutil/logwtmp.c')
| -rw-r--r-- | lib/libutil/logwtmp.c | 4 |
1 files 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'; } |
