From 09e6639baaf32231365cb9895bf1e0ea006a2a60 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 20 Jan 2020 01:54:27 -0800 Subject: 12885 efcode: smatch and build errors Reviewed by: Igor Kozhukhov Reviewed by: Andy Fiddaman Approved by: Dan McDonald --- usr/src/lib/efcode/upa/upa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr/src/lib/efcode/upa/upa.c') diff --git a/usr/src/lib/efcode/upa/upa.c b/usr/src/lib/efcode/upa/upa.c index 251dd5183d..60993a6aa6 100644 --- a/usr/src/lib/efcode/upa/upa.c +++ b/usr/src/lib/efcode/upa/upa.c @@ -24,8 +24,6 @@ * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -51,7 +49,7 @@ do_encode_unit(fcode_env_t *env) hi = POP(DS); lo = POP(DS); hi = ((hi >> 1) & 0x1f); - sprintf(buf, "%x,%x", hi, lo); + (void) sprintf(buf, "%x,%x", hi, lo); push_a_string(env, buf); } -- cgit v1.2.3