Fixed a missing pointer initialization (found by Thierry).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@986 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2278,6 +2278,8 @@ fs_mount(char *path, const char *device, const char *fs_name, void *args, bool k
|
||||
goto err;
|
||||
}
|
||||
|
||||
mount->vnodes_head = mount->vnodes_tail = NULL;
|
||||
|
||||
mount->mount_point = kstrdup(path);
|
||||
if (mount->mount_point == NULL) {
|
||||
err = ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user