Fixed warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17512 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-05-19 13:05:56 +00:00
parent 75b7acdac8
commit e2793c5db4
+5 -2
View File
@@ -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.
*/
@@ -7,12 +7,15 @@
#include <fs_volume.h>
#include <syscalls.h>
#include <string.h>
dev_t
fs_mount_volume(const char *where, const char *device,
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);
}