From: Frank Mori Hess Date: Wed, 6 Oct 2004 01:35:50 +0000 (+0000) Subject: fix passing of bad argument to comedi_error() X-Git-Tag: r0_7_70~102 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=17570e2b8061e8f330d7da3002b4ee3773afb4b2;p=comedi.git fix passing of bad argument to comedi_error() --- diff --git a/comedi/drivers/ni_atmio.c b/comedi/drivers/ni_atmio.c index b04383f6..1ac604bd 100644 --- a/comedi/drivers/ni_atmio.c +++ b/comedi/drivers/ni_atmio.c @@ -369,7 +369,7 @@ static int ni_isapnp_find_board( struct pci_dev **dev ) if(isapnp_dev->active) { - printk( "%s found but already active, skipping.\n", ni_boards[ i ].name ); + printk( "ni_atmio: %s found but already active, skipping.\n", ni_boards[ i ].name ); continue; } if(isapnp_dev->prepare(isapnp_dev)<0) @@ -388,7 +388,7 @@ static int ni_isapnp_find_board( struct pci_dev **dev ) } #endif if(isapnp_dev->activate(isapnp_dev)<0){ - printk("isapnp configure failed!\n"); + printk("ni_atmio: isapnp configure failed!\n"); return -ENOMEM; } break; @@ -397,7 +397,7 @@ static int ni_isapnp_find_board( struct pci_dev **dev ) *dev = isapnp_dev; return 0; #else - comedi_error(dev, "kernel does not have isapnp support available\n"); + printk("ni_atmio: kernel does not have isapnp support available\n"); return -EIO; #endif }