[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 1/3] nanddump: use the right operator of logic AND
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2012-10-15 12:22:24
Message-ID: CAK1hOcM53qyYDCd9cCxYSc4LW6amMfhBbYWaEXTWMSHUeFCRBw () mail ! gmail ! com
[Download RAW message or body]
On Thu, Sep 13, 2012 at 1:07 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> miscutils/nandwrite.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c
> index c636a5a..a934334 100644
> --- a/miscutils/nandwrite.c
> +++ b/miscutils/nandwrite.c
> @@ -162,7 +162,7 @@ int nandwrite_main(int argc UNUSED_PARAM, char **argv)
> tmp = next_good_eraseblock(fd, &meminfo, blockstart);
> if (tmp != blockstart) {
> /* bad block(s), advance mtdoffset */
> - if (IS_NANDDUMP & !(opts & OPT_b)) {
> + if (IS_NANDDUMP && !(opts & OPT_b)) {
> int bad_len = MIN(tmp, end_addr) - mtdoffset;
> dump_bad(&meminfo, bad_len, !(opts & OPT_o));
> }
Sorry, missed it. Applied, thanks!
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic