From bcffacebf4d4d9f72c3c355ee5086380d18e86d5 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Wed, 15 Nov 2023 13:40:56 -0500 Subject: [PATCH] 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 --- fs/vfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/vfs.c b/fs/vfs.c index f928f4f..c96048b 100644 --- a/fs/vfs.c +++ b/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 */