summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2005-11-10 20:57:33 (GMT)
committerDavid S. Miller <davem@davemloft.net>2005-11-10 20:57:33 (GMT)
commit2f23c523f32324e5b5f39565cbcb0a8ff8923019 (patch)
treeb7a53ef324504ed57920d2358b4c6a19143af13b /drivers
parentb925556cc9e82b32ab68a7620b247f47193501a7 (diff)
downloadlinux-2f23c523f32324e5b5f39565cbcb0a8ff8923019.tar.xz
[BNX2]: output driver name as prefix in error message
Output driver name as prefix to "Unknown flash/EEPROM type." message. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 8f46427..65aae28 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -2707,7 +2707,7 @@ bnx2_init_nvram(struct bnx2 *bp)
if (j == entry_count) {
bp->flash_info = NULL;
- printk(KERN_ALERT "Unknown flash/EEPROM type.\n");
+ printk(KERN_ALERT PFX "Unknown flash/EEPROM type.\n");
rc = -ENODEV;
}