summaryrefslogtreecommitdiffstats
path: root/sys/dev/cfe/cfe_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cfe/cfe_console.c')
-rw-r--r--sys/dev/cfe/cfe_console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cfe/cfe_console.c b/sys/dev/cfe/cfe_console.c
index 6d19947..fbd44f8 100644
--- a/sys/dev/cfe/cfe_console.c
+++ b/sys/dev/cfe/cfe_console.c
@@ -173,8 +173,7 @@ static void
cfe_cninit(struct consdev *cp)
{
- sprintf(cp->cn_name, "cfecons");
- cp->cn_tp = cfe_tp;
+ strcpy(cp->cn_name, "cfecons");
}
static void
OpenPOWER on IntegriCloud