svn commit: r309409 - head/usr.sbin/i2c

Nick Hibma n_hibma at FreeBSD.org
Fri Dec 2 11:30:22 UTC 2016


Author: n_hibma
Date: Fri Dec  2 11:30:21 2016
New Revision: 309409
URL: https://svnweb.freebsd.org/changeset/base/309409

Log:
  More typos in strings.
  
  Submitted by:	bde
  MFC after:	3 days

Modified:
  head/usr.sbin/i2c/i2c.c

Modified: head/usr.sbin/i2c/i2c.c
==============================================================================
--- head/usr.sbin/i2c/i2c.c	Fri Dec  2 10:47:10 2016	(r309408)
+++ head/usr.sbin/i2c/i2c.c	Fri Dec  2 11:30:21 2016	(r309409)
@@ -413,7 +413,7 @@ err1:
 	cmd.slave = i2c_opt.addr;
 	error = ioctl(fd, I2CSTOP, &cmd);
 	if (error == -1)
-		fprintf(stderr, "error sending stop condtion\n");
+		fprintf(stderr, "error sending stop condition\n");
 err2:
 	if (err_msg)
 		fprintf(stderr, "%s\n", err_msg);
@@ -466,7 +466,7 @@ i2c_read(char *dev, struct options i2c_o
 			cmd.slave = i2c_opt.addr;
 			error = ioctl(fd, I2CSTOP, &cmd);
 			if (error == -1) {
-				err_msg = "error sending stop condtion";
+				err_msg = "error sending stop condition";
 				goto err2;
 			}
 		}
@@ -491,7 +491,7 @@ i2c_read(char *dev, struct options i2c_o
 	}
 	error = ioctl(fd, I2CSTOP, &cmd);
 	if (error == -1) {
-		err_msg = "error sending stop condtion";
+		err_msg = "error sending stop condition";
 		goto err2;
 	}
 
@@ -510,7 +510,7 @@ err1:
 	cmd.slave = i2c_opt.addr;
 	error = ioctl(fd, I2CSTOP, &cmd);
 	if (error == -1)
-		fprintf(stderr, "error sending stop condtion\n");
+		fprintf(stderr, "error sending stop condition\n");
 err2:
 	if (err_msg)
 		fprintf(stderr, "%s\n", err_msg);


More information about the svn-src-head mailing list