summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libsa/cons.c')
-rw-r--r--sys/lib/libsa/cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/cons.c b/sys/lib/libsa/cons.c
index 700d9acf0f5..d5869f4edc3 100644
--- a/sys/lib/libsa/cons.c
+++ b/sys/lib/libsa/cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.c,v 1.11 2003/08/11 06:23:09 deraadt Exp $ */
+/* $OpenBSD: cons.c,v 1.12 2007/09/10 17:29:02 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -87,7 +87,7 @@ cnset(dev_t dev)
cn_tab = cp;
cp->cn_dev = dev;
/* Turn it on. */
- (cp->cn_init)(cp);
+ (*cp->cn_init)(cp);
return (0);
}
break;