why ubimkvol can't recognize /dev/ubi0?
Artem Bityutskiy
dedekind at infradead.org
Tue Jan 15 03:08:30 EST 2008
On Mon, 2008-01-07 at 09:49 +0200, Adrian Hunter wrote:
> From b96f4481662bd7ac247d4d5a25b27f7d8afffb92 Mon Sep 17 00:00:00 2001
> From: Adrian Hunter <ext-adrian.hunter at nokia.com>
> Date: Mon, 7 Jan 2008 09:47:17 +0200
> Subject: ubi-utils: fix bug using readdir
>
> Library functions never reset errno to zero, so if you want
> to use its value to check for errors then you must set it to zero
> before calling the library function (in this case readdir).
>
> Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
Thanks, committed.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list