From a7e69b4d8dcad338eff0b79a82d12c34cab8bdf3 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Fri, 24 Dec 2010 14:16:59 +0000 Subject: Add missing argument to printk(). Spotted while porting on linux 2.6. ok miod@ --- sys/arch/zaurus/stand/zbsdmod/zbsdmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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 @@ -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; } -- cgit v1.2.3