diff options
Diffstat (limited to 'usr/src/lib/efcode/gp2/gp2.c')
-rw-r--r-- | usr/src/lib/efcode/gp2/gp2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/efcode/gp2/gp2.c b/usr/src/lib/efcode/gp2/gp2.c index bdc8f2d72f..50f222a7bd 100644 --- a/usr/src/lib/efcode/gp2/gp2.c +++ b/usr/src/lib/efcode/gp2/gp2.c @@ -163,9 +163,9 @@ do_encode_unit(fcode_env_t *env) off = lo & 0x7fffff; /* build config offset */ if (off) { - sprintf(enc_buf, "%x,%x", id, off); + (void) sprintf(enc_buf, "%x,%x", id, off); } else { - sprintf(enc_buf, "%x", id); + (void) sprintf(enc_buf, "%x", id); } debug_msg(DEBUG_REG_ACCESS, "gp2:encode_unit ( %x %x ) -> '%s'\n", (int)hi, (int)lo, enc_buf); |