[vfs][panic] Missed a few calls...

This commit is contained in:
Kevin Lange 2011-03-30 12:11:42 -05:00
parent cde56093d2
commit 9dea4713c8

View File

@ -57,13 +57,13 @@ kopen(
) {
/* let's do this shit */
if (!fs_root) {
HALT_AND_CATCH_FIRE("Attempted to kopen() without a filesystem in place.");
HALT_AND_CATCH_FIRE("Attempted to kopen() without a filesystem in place.", NULL);
}
if (!filename) {
HALT_AND_CATCH_FIRE("Attempted to kopen() without a filename.");
HALT_AND_CATCH_FIRE("Attempted to kopen() without a filename.", NULL);
}
if (filename[0] != '/') {
HALT_AND_CATCH_FIRE("Attempted to kopen() a non-absolute path.");
HALT_AND_CATCH_FIRE("Attempted to kopen() a non-absolute path.", NULL);
}
size_t path_len = strlen(filename);
if (path_len == 1) {