[patch] 2.6.0-test3 drivers/ide/legacy/hd.c

From: Josh Boyer
Date: Mon Aug 11 2003 - 19:55:21 EST


The patch below fixes a typo in drivers/ide/legacy/hd.c. This gets rid
of a compiler warning as well.

jb

--- linux-2.6.0-test3.orig/drivers/ide/legacy/hd.c 2003-08-11
19:43:12.000000000 -0500
+++ linux-2.6.0-test3/drivers/ide/legacy/hd.c 2003-08-11
19:41:36.000000000 -0500
@@ -715,7 +715,7 @@

hd_queue = blk_init_queue(do_hd_request, &hd_lock);
if (!hd_queue) {
- unegister_blkdev(MAJOR_NR,"hd");
+ unregister_blkdev(MAJOR_NR,"hd");
return -ENOMEM;
}


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