summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2010-12-24 14:16:59 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2010-12-24 14:16:59 +0000
commita7e69b4d8dcad338eff0b79a82d12c34cab8bdf3 (patch)
tree7ffb43886038cb5909019d38ee7f02a50e5e1566 /sys/arch/zaurus
parente545bba3bb993d9c63820328153be67de1ed7aaf (diff)
Add missing argument to printk(). Spotted while porting on linux 2.6.
ok miod@
Diffstat (limited to 'sys/arch/zaurus')
-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;
}