The fs_shell is dumb and doesn't know any B_* constants :-)
Thanks to Ingo for the note. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14604 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3394,8 +3394,8 @@ initialize_file_system(const char *device, const char *fsName, void *params,
|
|||||||
return FS_ERROR;
|
return FS_ERROR;
|
||||||
|
|
||||||
mount = (nspace *)malloc(sizeof(nspace));
|
mount = (nspace *)malloc(sizeof(nspace));
|
||||||
if (add_nspace(mount, NULL, "myfs", -1, -1) < B_OK) {
|
if (add_nspace(mount, NULL, "myfs", -1, -1) < FS_OK) {
|
||||||
error = B_ERROR;
|
error = FS_ERROR;
|
||||||
} else {
|
} else {
|
||||||
error = (*fs->ops.initialize)(device, params, paramLength);
|
error = (*fs->ops.initialize)(device, params, paramLength);
|
||||||
remove_nspace(mount);
|
remove_nspace(mount);
|
||||||
|
|||||||
Reference in New Issue
Block a user