]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: bitwise or TT_FL_ASCII with tt_flags instead of setting
authorDave Reisner <d@falconindy.com>
Mon, 21 Feb 2011 13:51:24 +0000 (08:51 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 21 Feb 2011 16:10:55 +0000 (17:10 +0100)
Signed-off-by: Dave Reisner <d@falconindy.com>
misc-utils/lsblk.c

index 9b00826eb5af6bcd4d6e92e24f626e82b08bc977..263ad95f37bb15d0f0a87ce6ece2333cf81a01f1 100644 (file)
@@ -946,7 +946,7 @@ int main(int argc, char *argv[])
                                return EXIT_FAILURE;
                        break;
                case 'i':
-                       tt_flags = TT_FL_ASCII;
+                       tt_flags |= TT_FL_ASCII;
                        break;
                case 'r':
                        tt_flags &= ~TT_FL_TREE;        /* disable the default */