diff options
author | dim <dim@FreeBSD.org> | 2011-12-17 20:12:17 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-17 20:12:17 +0000 |
commit | a48c9b9693aad2563cc3352336339b58bec5d3cd (patch) | |
tree | 35a1759f9231ef5389c3cfb5ddc8e4b8a68a6f08 /usr.sbin | |
parent | 77ba470f6c20521d6690559201fd2d2f83f322fe (diff) | |
download | FreeBSD-src-a48c9b9693aad2563cc3352336339b58bec5d3cd.zip FreeBSD-src-a48c9b9693aad2563cc3352336339b58bec5d3cd.tar.gz |
In usr.sbin/i2c/i2c.c, fix a few warnings about format strings not being
literals.
MFC after: 1 week
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/i2c/i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/i2c/i2c.c b/usr.sbin/i2c/i2c.c index c0b3663..68e6ca28 100644 --- a/usr.sbin/i2c/i2c.c +++ b/usr.sbin/i2c/i2c.c @@ -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); |