]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: fix copy & past bug
authorKarel Zak <kzak@redhat.com>
Tue, 27 Nov 2012 09:44:28 +0000 (10:44 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 12 Dec 2012 10:20:15 +0000 (11:20 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c

index 9c25dd0c0dbf69e48ff18288be2ee944605dd28f..7930fa8fed635741cf6b35c988b465e26cd096be 100644 (file)
@@ -661,7 +661,7 @@ static void set_tt_data(struct blkdev_cxt *cxt, int col, int id, struct tt_line
                break;
        case COL_PARTUUID:
                probe_device(cxt);
-               if (cxt->uuid)
+               if (cxt->partuuid)
                        tt_line_set_data(ln, col, xstrdup(cxt->partuuid));
                break;
        case COL_WWN: