Ticket #1269: diskdevs.c.diff

File diskdevs.c.diff, 657 bytes (added by strauman, on Jan 5, 2008 at 11:26:14 PM)

patch

Line 
1Index: diskdevs.c
2===================================================================
3RCS file: /usr1/CVS/rtems/cpukit/libblock/src/diskdevs.c,v
4retrieving revision 1.6
5diff -c -r1.6 diskdevs.c
6*** diskdevs.c  5 Jan 2005 18:15:28 -0000       1.6
7--- diskdevs.c  6 Jan 2008 00:25:11 -0000
8***************
9*** 627,633 ****
10      }
11      free(disktab);
12 
13!     rc = rtems_semaphore_release(diskdevs_mutex);
14 
15      /* XXX bdbuf should be released too! */
16      disk_io_initialized = 0;
17--- 627,633 ----
18      }
19      free(disktab);
20 
21!     rc = rtems_semaphore_delete(diskdevs_mutex);
22 
23      /* XXX bdbuf should be released too! */
24      disk_io_initialized = 0;