In usr.sbin/i2c/i2c.c, fix a few warnings about format strings not being

literals.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-17 20:12:17 +00:00
parent e0c518be94
commit 928e797dc0

View File

@ -360,7 +360,7 @@ err1:
fprintf(stderr, "error sending stop condtion\n");
err2:
if (err_msg)
fprintf(stderr, err_msg);
fprintf(stderr, "%s", err_msg);
close(fd);
return (1);
@ -453,7 +453,7 @@ err1:
fprintf(stderr, "error sending stop condtion\n");
err2:
if (err_msg)
fprintf(stderr, err_msg);
fprintf(stderr, "%s", err_msg);
close(fd);
return (1);