diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2008-04-01 04:18:18 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2008-04-01 04:18:18 +0000 |
commit | c32c92b0a78a328b61590e57166222cb712fd809 (patch) | |
tree | 96b93ba977fdf220828dc3a00695e5c3f7f7f082 /sys/dev/i2c/i2c_scan.c | |
parent | c0103cf24cb598695ecb3639ecc371c17fb76c21 (diff) |
toast unused args from a printf call; ok deraadt
Diffstat (limited to 'sys/dev/i2c/i2c_scan.c')
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index fcb51e6a380..54c9271761c 100644 --- a/sys/dev/i2c/i2c_scan.c +++ b/sys/dev/i2c/i2c_scan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_scan.c,v 1.116 2008/04/01 03:28:32 cnst Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.117 2008/04/01 04:18:17 cnst Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -438,7 +438,7 @@ iic_dump(struct device *dv, u_int8_t addr, char *name) if (iicprobe(i) != val) printf(" %02x=%02x", i, iicprobe(i)); } - printf(" words", dv->dv_xname, addr); + printf(" words"); for (i = 0; i < 8; i++) printf(" %02x=%04x", i, iicprobew(i)); if (name) |