Page MenuHomeFreeBSD

D22433.diff
No OneTemporary

D22433.diff

Index: head/usr.sbin/i2c/i2c.c
===================================================================
--- head/usr.sbin/i2c/i2c.c
+++ head/usr.sbin/i2c/i2c.c
@@ -590,7 +590,7 @@
* because of the NOSTOP flag used above.
*/
if (i2c_opt.dir == 'w')
- msgs[i].flags = IIC_M_WR | (i > 0) ? IIC_M_NOSTART : 0;
+ msgs[i].flags = IIC_M_WR | ((i > 0) ? IIC_M_NOSTART : 0);
else
msgs[i].flags = IIC_M_RD;
msgs[i].slave = i2c_opt.addr;

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 23, 5:20 PM (7 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24096521
Default Alt Text
D22433.diff (439 B)

Event Timeline