From owner-cvs-src@FreeBSD.ORG Fri Feb 15 21:19:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2A5716A418; Fri, 15 Feb 2008 21:19:16 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A168713C457; Fri, 15 Feb 2008 21:19:16 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1FLJGkp030492; Fri, 15 Feb 2008 21:19:16 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1FLJGrc030491; Fri, 15 Feb 2008 21:19:16 GMT (envelope-from antoine) Message-Id: <200802152119.m1FLJGrc030491@repoman.freebsd.org> From: Antoine Brodin Date: Fri, 15 Feb 2008 21:19:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libdisk disk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 21:19:16 -0000 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