summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2004-10-14 00:21:32 +0000
committersimokawa <simokawa@FreeBSD.org>2004-10-14 00:21:32 +0000
commit4255df54a689090abe388d79f90d4db0f3a4cf8e (patch)
tree69ee9949b4af3cdc0c9d497ba56d24d15fa84e35 /sys/dev/dcons
parent2eb8bfd3163ecccebe0ece7e2748023d17cb8673 (diff)
downloadFreeBSD-src-4255df54a689090abe388d79f90d4db0f3a4cf8e.zip
FreeBSD-src-4255df54a689090abe388d79f90d4db0f3a4cf8e.tar.gz
Fix warnings on non-i386 arch.
Submitted by: keramida
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons_os.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c
index 7347336..a04d16e 100644
--- a/sys/dev/dcons/dcons_os.c
+++ b/sys/dev/dcons/dcons_os.c
@@ -493,7 +493,9 @@ dcons_cnputc(DEV dev, int c)
static int
dcons_drv_init(int stage)
{
+#ifdef __i386__
int addr, size;
+#endif
if (drv_init)
return(drv_init);
OpenPOWER on IntegriCloud