summaryrefslogtreecommitdiff
path: root/usr/src/lib/efcode/engine/properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/efcode/engine/properties.c')
-rw-r--r--usr/src/lib/efcode/engine/properties.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/efcode/engine/properties.c b/usr/src/lib/efcode/engine/properties.c
index ff14c1f03c..966d0f005b 100644
--- a/usr/src/lib/efcode/engine/properties.c
+++ b/usr/src/lib/efcode/engine/properties.c
@@ -24,8 +24,6 @@
* All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -738,7 +736,7 @@ print_property(fcode_env_t *env, prop_t *p, char *prepend)
char *name = (p->name ? p->name : "<noname>");
if (prepend) {
- sprintf(buf, "%s %s", prepend, name);
+ (void) snprintf(buf, sizeof (buf), "%s %s", prepend, name);
name = buf;
}
print_indented(name);