diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/aviion/aviion/autoconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/aviion/autoconf.c b/sys/arch/aviion/aviion/autoconf.c index 626722f8314..b986da959a1 100644 --- a/sys/arch/aviion/aviion/autoconf.c +++ b/sys/arch/aviion/aviion/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.5 2007/06/15 01:19:06 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.6 2007/11/21 22:05:18 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -164,7 +164,7 @@ cmdline_parse(void) * commandline, so we can simply use its numerical value, as a * word, to tell device types apart. */ - bootdevtype = *(int *)bootargs; + bcopy(bootargs, &bootdevtype, sizeof(int)); } void |