summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/i2c/i2c.c4
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);
OpenPOWER on IntegriCloud