summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/gl518sm.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-01-26 22:25:35 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-01-26 22:25:35 +0000
commit6a7a44a8b21131d7e54e2649918455df290481be (patch)
treeb1d0419d2e9d7ff9ff1db94007d26a8b3c9eb8b5 /sys/dev/i2c/gl518sm.c
parent5267b916c094adb131bca9536165bdf019b5bc7a (diff)
Fix printf.
Diffstat (limited to 'sys/dev/i2c/gl518sm.c')
-rw-r--r--sys/dev/i2c/gl518sm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/gl518sm.c b/sys/dev/i2c/gl518sm.c
index 0a70a8ec316..a8d53f9dba0 100644
--- a/sys/dev/i2c/gl518sm.c
+++ b/sys/dev/i2c/gl518sm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gl518sm.c,v 1.2 2006/01/25 17:13:51 kettenis Exp $ */
+/* $OpenBSD: gl518sm.c,v 1.3 2006/01/26 22:25:34 kettenis Exp $ */
/*
* Copyright (c) 2006 Mark Kettenis
@@ -107,7 +107,7 @@ glenv_attach(struct device *parent, struct device *self, void *aux)
return;
}
- printf("GL518SM rev 0x%2x", data);
+ printf(": GL518SM rev 0x%02x", data);
cmd = GL518SM_MISC;
if (iic_exec(sc->sc_tag, I2C_OP_READ_WITH_STOP,