From 17570e2b8061e8f330d7da3002b4ee3773afb4b2 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 6 Oct 2004 01:35:50 +0000 Subject: [PATCH] fix passing of bad argument to comedi_error() --- comedi/drivers/ni_atmio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } -- 2.26.2