Skip to contentSkip to conversation

2.6.0-test3 drivers/ide/legacy/hd.c

PATCH New Josh Boyer 1 participant 1 message Aug 12, 2003

lore
Share & tools
lore

Josh Boyer

author
#0 lore raw

PATCH 1/1 2.6.0-test3 drivers/ide/legacy/hd.c

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;
}