cvs commit: src/lib/libdisk disk.c

Antoine Brodin antoine at FreeBSD.org
Mon Mar 17 12:08:33 PDT 2008


antoine     2008-03-17 19:08:33 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libdisk          disk.c 
  Log:
  MFC to RELENG_6
    - Make Disk_Names() behave as documented in libdisk(3): return an array
    of disk names, where you must free each pointer, as well as the array
    by hand. [1]
    - Destaticize "disks" in Disk_Names, it has no reasons to be static.
  
    PR:             kern/96077 [1]
    PR:             kern/114110 [1]
    MFC after:      1 month
    Approved by:    rwatson (mentor)
  
  Revision   Changes    Path
  1.125.2.2  +14 -5     src/lib/libdisk/disk.c


More information about the cvs-src mailing list