]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: atari - fix bad variable name
authorVaclav Dolezal <vdolezal@redhat.com>
Wed, 24 Jan 2018 11:16:23 +0000 (12:16 +0100)
committerVaclav Dolezal <vdolezal@redhat.com>
Wed, 24 Jan 2018 11:18:23 +0000 (12:18 +0100)
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
libblkid/src/partitions/atari.c

index eb3604088c42f944c73e91814166854a718222bf..1034f8fa4ebde12dfbca4be3a2ea47fa53ff642a 100644 (file)
@@ -127,7 +127,7 @@ static int parse_extended(blkid_probe pr, blkid_partlist ls,
        while (1) {
                struct atari_rootsector *xrs;
                xrs = (struct atari_rootsector *) blkid_probe_get_sector(pr, xstart);
-               if (!rs) {
+               if (!xrs) {
                        if (errno)
                                return -errno;
                        return 0;