* dtable.cc (build_fh_pc): When creating an archetype, use native name rather

than unix name if name doesn't exist.
This commit is contained in:
Christopher Faylor
2013-12-01 02:09:22 +00:00
parent a534dfd26e
commit 483c843a6a
3 changed files with 12 additions and 1 deletions

View File

@ -641,7 +641,7 @@ build_fh_pc (path_conv& pc)
else
{
if (!fh->get_name ())
fh->set_name (fh->dev ().name);
fh->set_name (fh->dev ().native);
fh->archetype = fh->clone ();
debug_printf ("created an archetype (%p) for %s(%d/%d)", fh->archetype, fh->get_name (), fh->dev ().get_major (), fh->dev ().get_minor ());
fh->archetype->archetype = NULL;