2003-05-23 20:39:05

by Eduardo Pereira Habkost

[permalink] [raw]
Subject: [PATCH] Fix multiline string on sdla_chdlc

Detected when using gcc 3.3.

--
Eduardo


diff -purN linux-2.4.orig/drivers/net/wan/sdla_chdlc.c linux-2.4/drivers/net/wan/sdla_chdlc.c
--- linux-2.4.orig/drivers/net/wan/sdla_chdlc.c 2003-05-22 20:13:17.000000000 -0300
+++ linux-2.4/drivers/net/wan/sdla_chdlc.c 2003-05-22 20:13:17.000000000 -0300
@@ -591,8 +591,7 @@ int wpc_init (sdla_t* card, wandev_conf_


if (chdlc_set_intr_mode(card, APP_INT_ON_TIMER)){
- printk (KERN_INFO "%s:
- Failed to set interrupt triggers!\n",
+ printk (KERN_INFO "%s: Failed to set interrupt triggers!\n",
card->devname);
return -EIO;
}


Attachments:
(No filename) (607.00 B)
(No filename) (189.00 B)
Download all attachments