From c7acd44cf02c26bfb7a39eacabb4287004946974 Mon Sep 17 00:00:00 2001 From: is Date: Thu, 26 Aug 1999 19:56:08 +0000 Subject: [PATCH] Eliminate a function call... we know its exactly one byte here --- sys/net/if_arcsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c index d90ef3ab66dc..8172a99e466c 100644 --- a/sys/net/if_arcsubr.c +++ b/sys/net/if_arcsubr.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_arcsubr.c,v 1.21 1999/05/18 23:57:20 thorpej Exp $ */ +/* $NetBSD: if_arcsubr.c,v 1.22 1999/08/26 19:56:08 is Exp $ */ /* * Copyright (c) 1994, 1995 Ignatios Souvatzis @@ -653,7 +653,7 @@ arc_ifattach(ifp, lla) sdl->sdl_family == AF_LINK) { sdl->sdl_type = IFT_ARCNET; sdl->sdl_alen = ifp->if_addrlen; - bcopy((caddr_t)&lla, LLADDR(sdl), ifp->if_addrlen); + *(LLADDR(sdl)) = lla; } ifp->if_broadcastaddr = &arcbroadcastaddr; }