]> 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>
Tue, 27 Nov 2012 09:44:28 +0000 (10:44 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c

index bcd8e7644f5291aa1b0b848556ebf6cc15823bb3..97a0ce7c0f5006d2788f934ce0e2493aa46ba13a 100644 (file)
@@ -730,7 +730,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: