From: Wolfgang Denk Date: Thu, 09 Aug 2012 22:12:52 +0200 Subject: [U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed In-Reply-To: <1333367914-20461-1-git-send-email-weber@corscience.de> References: <4F4219F4.3080005@aribaud.net> <1333367914-20461-1-git-send-email-weber@corscience.de> Message-ID: <20120809201252.6917920401A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Thomas Weber, In message <1333367914-20461-1-git-send-email-weber@corscience.de> you wrote: > From: Bernhard Walle > > In addition to the error message also display the error code. I had the > problem that my malloc memory was not enough (ENOMEM), and if u-boot > had displayed the error code immediately that would have saved me some > debugging. > > Signed-off-by: Bernhard Walle > > Use ubifs_err instead of printf. > Add "errno=%d" in output as suggested by Albert Aribaud. > Signed-off-by: Thomas Weber > --- > fs/ubifs/super.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Stefan, I hope this is OK with you. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > Is there a way to determine Yesterday's date using Unix utilities? echo "what is yesterday's date?" | /bin/mail root -- Randal L. Schwartz in