mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue