summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2006-01-31 11:18:29 +0000
committerDamien Miller <djm@cvs.openbsd.org>2006-01-31 11:18:29 +0000
commit753b53845607102445d064a97256e55081e9f858 (patch)
tree6f971d725c4ddd6c26d5fc5eda41c9ece035cd27 /sys/dev/i2c
parentdb1b114f57c92bb3db76483a302036f04599f56e (diff)
fix error message
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/asb100.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/i2c/asb100.c b/sys/dev/i2c/asb100.c
index 9205ee6a517..97f6c75f085 100644
--- a/sys/dev/i2c/asb100.c
+++ b/sys/dev/i2c/asb100.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: asb100.c,v 1.4 2006/01/19 17:08:39 grange Exp $ */
+/* $OpenBSD: asb100.c,v 1.5 2006/01/31 11:18:28 djm Exp $ */
/*
- * Copyright (c) 2005 Damien Miller
+ * Copyright (c) 2005 Damien Miller <djm@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -321,7 +321,8 @@ asbtm_refresh(void *arg)
iic_acquire_bus(sc->sc_tag, 0);
if (asbtm_banksel(sc, 0, &orig_bank) == -1) {
- printf(": cannot get/set register bank\n");
+ printf("%s: cannot get/set register bank\n",
+ sc->sc_dev.dv_xname);
iic_release_bus(sc->sc_tag, 0);
return;
}