Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17512 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2004-2005, Axel Dörfler, [email protected]. All rights reserved.
|
* Copyright 2004-2006, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -7,12 +7,15 @@
|
|||||||
#include <fs_volume.h>
|
#include <fs_volume.h>
|
||||||
#include <syscalls.h>
|
#include <syscalls.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
dev_t
|
dev_t
|
||||||
fs_mount_volume(const char *where, const char *device,
|
fs_mount_volume(const char *where, const char *device,
|
||||||
const char *fileSystem, uint32 flags, const char *parameters)
|
const char *fileSystem, uint32 flags, const char *parameters)
|
||||||
{
|
{
|
||||||
return _kern_mount(where, device, fileSystem, flags, (void *)parameters, parameters ? strlen(parameters) : 0);
|
return _kern_mount(where, device, fileSystem, flags, (void *)parameters,
|
||||||
|
parameters ? strlen(parameters) : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user