Added initialization of debugging output file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4408 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -237,7 +237,8 @@ int
|
|||||||
udf_mount(nspace_id nsid, const char *deviceName, ulong flags, void *parms,
|
udf_mount(nspace_id nsid, const char *deviceName, ulong flags, void *parms,
|
||||||
size_t parmsLength, void **volumeCookie, vnode_id *rootID)
|
size_t parmsLength, void **volumeCookie, vnode_id *rootID)
|
||||||
{
|
{
|
||||||
DEBUG_INIT(CF_ENTRY | CF_VOLUME_OPS, NULL);
|
INITIALIZE_DEBUGGING_OUTPUT_FILE("/boot/home/Desktop/udf_debug.txt");
|
||||||
|
DEBUG_INIT_ETC(CF_ENTRY | CF_VOLUME_OPS, NULL, ("deviceName: `%s'", deviceName));
|
||||||
|
|
||||||
status_t err = B_OK;
|
status_t err = B_OK;
|
||||||
off_t deviceSize = 0; // in blocks
|
off_t deviceSize = 0; // in blocks
|
||||||
@@ -308,7 +309,7 @@ udf_read_fs_stat(void *ns, struct fs_info *info)
|
|||||||
sprintf(info->volume_name, "%s", volume->Name());
|
sprintf(info->volume_name, "%s", volume->Name());
|
||||||
|
|
||||||
// File system name
|
// File system name
|
||||||
sprintf(info->fsh_name, "udf");
|
strcpy(info->fsh_name, "udf");
|
||||||
|
|
||||||
RETURN(B_OK);
|
RETURN(B_OK);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user