summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/media/directory.subr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdconfig/share/media/directory.subr')
-rw-r--r--usr.sbin/bsdconfig/share/media/directory.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/share/media/directory.subr b/usr.sbin/bsdconfig/share/media/directory.subr
index 9a7e66c..82c1b8c 100644
--- a/usr.sbin/bsdconfig/share/media/directory.subr
+++ b/usr.sbin/bsdconfig/share/media/directory.subr
@@ -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
OpenPOWER on IntegriCloud