AddLink() added the link to the list of mounted volumes instead of the list
of links - that could have possibly hidden the boot volume under certain circumstances. Thanks to Sean O'Brien for pointing this out. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7343 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a44e28cc02
commit
511252a157
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
|
||||
@ -156,7 +156,7 @@ RootFileSystem::AddLink(const char *name, Directory *target)
|
||||
entry->name = name;
|
||||
entry->root = target;
|
||||
|
||||
fList.Add(entry);
|
||||
fLinks.Add(entry);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user