From: Florian Krohm Date: Sun, 20 Sep 2015 13:42:06 +0000 (+0000) Subject: Fix up a few comments. X-Git-Tag: svn/VALGRIND_3_12_0~351 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c332279b5cb03bceb62b898db9884a4b10aff906;p=thirdparty%2Fvalgrind.git Fix up a few comments. Patch by Jean Delvare . git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15657 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index 2d655070dc..163c0da745 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -6862,7 +6862,7 @@ PRE(sys_ioctl) PRE_MEM_READ("ioctl(VKI_I2C_SMBUS).i2c_smbus_ioctl_data.command", (Addr)&vkis->command, sizeof(vkis->command)); /* i2c_smbus_write_quick hides its value in read_write, so - this variable can hava a different meaning */ + this variable can have a different meaning */ /* to make matters worse i2c_smbus_write_byte stores its value in command */ if ( ! ((vkis->size == VKI_I2C_SMBUS_QUICK) || @@ -9387,9 +9387,7 @@ POST(sys_ioctl) struct vki_i2c_smbus_ioctl_data *vkis = (struct vki_i2c_smbus_ioctl_data *) ARG3; /* i2c_smbus_write_quick hides its value in read_write, so - this variable can hava a different meaning */ - /* to make matters worse i2c_smbus_write_byte stores its - value in command */ + this variable can have a different meaning */ if ((vkis->read_write == VKI_I2C_SMBUS_READ) || (vkis->size == VKI_I2C_SMBUS_PROC_CALL) || (vkis->size == VKI_I2C_SMBUS_BLOCK_PROC_CALL)) {