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:
parent
e0c518be94
commit
928e797dc0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user