summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-12-27 09:21:03 +0000
committerderaadt <deraadt@openbsd.org>2005-12-27 09:21:03 +0000
commitb1505fe4962a7e874d01784a61f8d276a95b286c (patch)
tree10de0b7fd03b3420700a1d5f7be59161e320c50c
parentthe name belongs in "quotes" (diff)
downloadwireguard-openbsd-b1505fe4962a7e874d01784a61f8d276a95b286c.tar.xz
wireguard-openbsd-b1505fe4962a7e874d01784a61f8d276a95b286c.zip
make direct mappings fail for now, since noone will test that for me
-rw-r--r--sys/dev/i2c/i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/i2c.c b/sys/dev/i2c/i2c.c
index 9439ecb7869..e1cb80668f9 100644
--- a/sys/dev/i2c/i2c.c
+++ b/sys/dev/i2c/i2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2c.c,v 1.8 2005/12/27 07:31:53 deraadt Exp $ */
+/* $OpenBSD: i2c.c,v 1.9 2005/12/27 09:21:03 deraadt Exp $ */
/* $NetBSD: i2c.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
@@ -101,8 +101,8 @@ iic_search(struct device *parent, void *arg, void *aux)
ia.ia_tag = sc->sc_tag;
ia.ia_addr = cf->cf_loc[IICCF_ADDR];
ia.ia_size = cf->cf_loc[IICCF_SIZE];
- ia.ia_name = NULL;
- ia.ia_compat = NULL;
+ ia.ia_name = "unknown";
+ ia.ia_compat = "unknown";
if (cf->cf_attach->ca_match(parent, cf, &ia) > 0)
config_attach(parent, cf, &ia, iic_print);