aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cfe
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2008-10-27 11:45:31 +0000
committerEd Schouten <ed@FreeBSD.org>2008-10-27 11:45:31 +0000
commitc8978106d00ca40b7e2a13119de66c3b0f8e4771 (patch)
tree5e7a8425eb9de53532de6344a7ab1344bd577cc5 /sys/dev/cfe
parent2e9f7f6840383b5cb8c03e35ab8622c81e4fdc1d (diff)
downloadsrc-c8978106d00ca40b7e2a13119de66c3b0f8e4771.tar.gz
src-c8978106d00ca40b7e2a13119de66c3b0f8e4771.zip
Notes
Diffstat (limited to 'sys/dev/cfe')
-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 6d19947debd7..fbd44f878b7a 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