[patch] bug 508: ipmi compile fix

From: Robert Love (rml@tech9.net)
Date: Wed Mar 26 2003 - 14:14:50 EST


On Wed, 2003-03-26 at 13:56, Martin J. Bligh wrote:

> Problem Description: drivers/char/ipmi/ipmi_devintf.c:452
> 'snprinf' should be 'snprintf'

Sheesh, diffing the solution is certainly quicker than filling out the
bugzilla entry...

Patch is against 2.5.66. Linus, please apply.

        Robert Love

 drivers/char/ipmi/ipmi_devintf.c | 2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -urN linux-2.5.66/drivers/char/ipmi/ipmi_devintf.c linux/drivers/char/ipmi/ipmi_devintf.c
--- linux-2.5.66/drivers/char/ipmi/ipmi_devintf.c 2003-03-24 17:01:22.000000000 -0500
+++ linux/drivers/char/ipmi/ipmi_devintf.c 2003-03-26 14:12:33.046757752 -0500
@@ -449,7 +449,7 @@
         if (if_num > MAX_DEVICES)
                 return;
 
- snprinf(name, sizeof(name), "ipmidev/%d", if_num);
+ snprintf(name, sizeof(name), "ipmidev/%d", if_num);
 
         handles[if_num] = devfs_register(NULL, name, DEVFS_FL_NONE,
                                          ipmi_major, if_num,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:25 EST