Fixed path_validate debug statement
This was SVN commit r438.
This commit is contained in:
parent
8002f5fe6e
commit
5b8d980809
@ -175,7 +175,7 @@ static int path_validate(const uint line, const char* const path)
|
|||||||
// failed somewhere - err is the error code,
|
// failed somewhere - err is the error code,
|
||||||
// or -1 if not set specifically above.
|
// or -1 if not set specifically above.
|
||||||
fail:
|
fail:
|
||||||
debug_out("path_validate at line %d failed: %s", err);
|
debug_out("path_validate at line %d failed: %s (error code %d)", line, msg, err);
|
||||||
debug_warn("path_validate failed");
|
debug_warn("path_validate failed");
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
@ -684,11 +684,9 @@ static int remount(Mount& m)
|
|||||||
tree_add_loc(dir, loc);
|
tree_add_loc(dir, loc);
|
||||||
}
|
}
|
||||||
|
|
||||||
err = tree_add_loc(dir, &dir_loc);
|
CHECK_ERR(tree_add_loc(dir, &dir_loc));
|
||||||
if(err < 0)
|
|
||||||
err = err;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user