diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-16 15:11:55 +0300 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-02-18 12:32:01 +0300 |
commit | c8cbec6bdf6329279fd14696020f6b59d1d3124d (patch) | |
tree | bdaccc9c80eefefe7e6a543f3a9b5b2a6dc7c8a8 /drivers/block/paride | |
parent | a60e78e57a17d55bbd5a96da16fe9649d364b987 (diff) | |
download | linux-c8cbec6bdf6329279fd14696020f6b59d1d3124d.tar.xz |
paride/pg.c: xs(): &&/|| confusion
&&/|| confusion
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/paride')
-rw-r--r-- | drivers/block/paride/pg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index 9dfa27163001..c397b3ddba9b 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c @@ -422,7 +422,7 @@ static void xs(char *buf, char *targ, int len) for (k = 0; k < len; k++) { char c = *buf++; - if (c != ' ' || c != l) + if (c != ' ' && c != l) l = *targ++ = c; } if (l == ' ') |