Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2013 01:18:54 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252737 - head/usr.sbin/bsdconfig/share/media
Message-ID:  <201307050118.r651IskI021963@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Fri Jul  5 01:18:54 2013
New Revision: 252737
URL: http://svnweb.freebsd.org/changeset/base/252737

Log:
  Set name of device to directory path (displayed during package operations).

Modified:
  head/usr.sbin/bsdconfig/share/media/directory.subr

Modified: head/usr.sbin/bsdconfig/share/media/directory.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/directory.subr	Fri Jul  5 00:03:53 2013	(r252736)
+++ head/usr.sbin/bsdconfig/share/media/directory.subr	Fri Jul  5 01:18:54 2013	(r252737)
@@ -69,6 +69,7 @@ f_media_set_directory()
 	[ "$path" ] || return $FAILURE
 
 	f_struct_new DEVICE device_directory
+	device_directory set name     "$path"
 	device_directory set get      f_media_get_directory
 	device_directory set init     f_media_init_directory
 	device_directory set shutdown f_media_shutdown_directory



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307050118.r651IskI021963>