raid0.c and -Werror

From: Thorsten Kranzkowski (th@Marvin.DL8BCU.ampr.org)
Date: Fri Jul 07 2000 - 04:25:30 EST


Hi!
This fixes an -Werror problem in raid0.c (format<->argument mismatch).

Bye,
Thorsten

--- linux-2.4.0-test2/drivers/block/raid0.c Thu Jul 6 18:05:57 2000
+++ linux-2.4.0-test3-pre5-work/drivers/block/raid0.c Fri Jul 7 09:20:40 2000
@@ -145,8 +145,8 @@
         printk("raid0 : nb_zone is %d.\n", nb_zone);
         conf->nr_zones = nb_zone;
 
- printk("raid0 : Allocating %d bytes for hash.\n",
- sizeof(struct raid0_hash)*nb_zone);
+ printk("raid0 : Allocating %ld bytes for hash.\n",
+ (long)sizeof(struct raid0_hash)*nb_zone);
 
         conf->hash_table = vmalloc (sizeof (struct raid0_hash)*nb_zone);
         if (!conf->hash_table)

-- 
| Thorsten Kranzkowski        Internet: dl8bcu@gmx.net                        |
| Mobile: ++49 170 1876134       Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |

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



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:20 EST