cvs commit: src/lib/libdisk disk.c

Antoine Brodin antoine at FreeBSD.org
Mon Mar 17 12:05:37 PDT 2008


antoine     2008-03-17 19:05:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libdisk          disk.c 
  Log:
  MFC to RELENG_7
    - 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.127.2.1  +14 -5     src/lib/libdisk/disk.c


More information about the cvs-all mailing list