summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2010-12-24 14:16:58 +0000
committergrange <grange@openbsd.org>2010-12-24 14:16:58 +0000
commitd6854bdff7ac39c6c17d90d1c16db131c4ef8bec (patch)
treebc1e1095c5c1f93e29f47325b3d28c2bed80d4a5
parentSync uvm_km_alloc1() prototype with reality. (diff)
downloadwireguard-openbsd-d6854bdff7ac39c6c17d90d1c16db131c4ef8bec.tar.xz
wireguard-openbsd-d6854bdff7ac39c6c17d90d1c16db131c4ef8bec.zip
Add missing argument to printk(). Spotted while porting on linux 2.6.
ok miod@
-rw-r--r--sys/arch/zaurus/stand/zbsdmod/zbsdmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c b/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c
index c8e80d20083..48e7c55b47c 100644
--- a/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c
+++ b/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zbsdmod.c,v 1.7 2005/05/02 02:45:29 uwe Exp $ */
+/* $OpenBSD: zbsdmod.c,v 1.8 2010/12/24 14:16:58 grange Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -266,7 +266,7 @@ init_module()
rc = register_chrdev(ZBOOTDEV_MAJOR, ZBOOTDEV_NAME, &fops);
if (rc != 0) {
printk("%s: register_chrdev(%d, ...): error %d\n",
- ZBOOTMOD_NAME, -rc);
+ ZBOOTMOD_NAME, ZBOOTDEV_MAJOR, -rc);
return 1;
}