summaryrefslogtreecommitdiff
path: root/sys/dev/cninit.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-09-10 17:29:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-09-10 17:29:03 +0000
commit28b5a1623e59f176f53e34267832b9b6439ef60a (patch)
tree61af02ca712e2dbb8bee230c495695cd74421c01 /sys/dev/cninit.c
parent455ffcb316c78b76deb2cd84ab2097058f76653c (diff)
Make function pointer calls look all alike; from Holger Mikolon.
No change in generated code.
Diffstat (limited to 'sys/dev/cninit.c')
-rw-r--r--sys/dev/cninit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cninit.c b/sys/dev/cninit.c
index 983eb6385e1..1b4580d3baa 100644
--- a/sys/dev/cninit.c
+++ b/sys/dev/cninit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cninit.c,v 1.6 2003/06/02 23:28:01 millert Exp $ */
+/* $OpenBSD: cninit.c,v 1.7 2007/09/10 17:29:00 miod Exp $ */
/* $NetBSD: cninit.c,v 1.2 1995/04/11 22:08:10 pk Exp $ */
/*
@@ -96,7 +96,7 @@ cnset(dev)
cn_tab = cp;
cp->cn_dev = dev;
/* Turn it on. */
- (cp->cn_init)(cp);
+ (*cp->cn_init)(cp);
return (0);
}
break;