cvs commit: src/lib/libdisk disk.c

Antoine Brodin antoine at FreeBSD.org
Fri Feb 15 13:19:16 PST 2008


antoine     2008-02-15 21:19:15 UTC

  FreeBSD src repository

  Modified files:
    lib/libdisk          disk.c 
  Log:
  - 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.128     +14 -5     src/lib/libdisk/disk.c


More information about the cvs-all mailing list