aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-03-08 09:50:51 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-03-08 10:21:34 +0000
commitfc9a528f484b37598a28841faee6fd8c889ee822 (patch)
treebb339b5f1e124725ba563bae894a0bd31294de9f
parent77148a3e497811ce873124ba848c934d2b12d592 (diff)
downloadefilinux-fc9a528f484b37598a28841faee6fd8c889ee822.tar.gz
fs: Don't print message if we fail to open a file
Now that we have config file support failing to open a fail isn't worthy of a warning. Many users won't be using a config file at all and printing, "Unable to open file <filename>" everytime efilinux is executed is useless and annoying. Leave it to the caller of file_open() to print any messages about failing to open files. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--fs/fs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 1cbed4e..8a45442 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -145,7 +145,6 @@ found:
notfound:
err = EFI_NOT_FOUND;
fail:
- Print(L"Unable to open file \"%s\"", name);
free(f);
return err;
}