vfs: remove extra print statement

this error message will be printed out by the calling program and is not
needed to print from the kernel
This commit is contained in:
Michael Shaw 2023-11-15 13:40:56 -05:00
commit bcffacebf4

View file

@ -93,7 +93,6 @@ int open(const char *pathname, int flags)
int result = rootfs->ops->open(rootfs, &fd->vnode, pathname);
if (result < 0) {
kprintf(LOG_ERROR "Failed to open %s: %s\n", pathname, strerror(-result));
return result;
} else if (result == VFSE_IS_BDEV) {
/* TODO: continue search into mounted filesystems */