[coreboot] New patch to review: 0ca6ae9 Show which file cannot be openend in file_open(), eases debuging.

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Mon Sep 5 13:40:14 CEST 2011


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/193

-gerrit

commit 0ca6ae94bb6be913aef972b93e8e1a05f98cdfad
Author: Mathias Krause <mathias.krause at secunet.com>
Date:   Thu Jun 3 15:39:46 2010 +0200

    Show which file cannot be openend in file_open(), eases debuging.
    
    Change-Id: I06fd3576aa3443588e67234bce748f533c36a8ff
    Signed-off-by: Mathias Krause <mathias.krause at secunet.com>
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
 fs/vfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/vfs.c b/fs/vfs.c
index 18dbcbc..18db6ec 100644
--- a/fs/vfs.c
+++ b/fs/vfs.c
@@ -191,7 +191,7 @@ int file_open(const char *filename)
 	filepos = 0;
 	errnum = 0;
 	if (!fsys->dir_func((char *) path)) {
-		printf("File not found.\n");
+		printf("File not found '%s'.\n", filename);
 		goto out;
 	}
 	retval = 1;




More information about the coreboot mailing list