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:
parent
591fdc5349
commit
bcffacebf4
1 changed files with 0 additions and 1 deletions
1
fs/vfs.c
1
fs/vfs.c
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue