Patchwork fix smc911x.c printf typo

login
register
mail settings
Submitter Vernon Sauder
Date Nov. 12, 2008, 4:05 a.m.
Message ID <491A561C.5040105@gmail.com>
Download mbox | patch
Permalink /patch/8305/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Vernon Sauder - Nov. 12, 2008, 4:05 a.m.
From: Vernon Sauder <VernonInHand@gmail.com>

Fix printf format typo in smc911x driver.

I sent this to Dustin McIntire <dustin@sensoria.com> but the email
server rejected it.

Signed-off-by: Vernon Sauder <VernonInHand@gmail.com>
---
Patch against 2.6.28-rc4 Linus git tree.

 drivers/net/smc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

 	}

Patch

diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index 5051554..b965fec 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -1813,7 +1813,7 @@  static int __init smc911x_probe(struct net_device
*dev)
 	val = SMC_GET_BYTE_TEST(lp);
 	DBG(SMC_DEBUG_MISC, "%s: endian probe returned 0x%04x\n", CARDNAME, val);
 	if (val != 0x87654321) {
-		printk(KERN_ERR "Invalid chip endian 0x08%x\n",val);
+		printk(KERN_ERR "Invalid chip endian 0x%08x\n",val);
 		retval = -ENODEV;
 		goto err_out;