]> err.no Git - util-linux/commitdiff
blkid: fix blkid_probe_sprintf_version() usage
authorKarel Zak <kzak@redhat.com>
Thu, 25 Sep 2008 21:55:00 +0000 (23:55 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:21:46 +0000 (23:21 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libs/blkid/src/probers/isw_raid.c

index a08a45990d5115d8f0cf22740b67cf1aef77de1b..58804e07913992251de0cabd7512a26a1c4aad47 100644 (file)
@@ -53,7 +53,7 @@ static int probe_iswraid(blkid_probe pr, const struct blkid_idmag *mag)
                return -1;
 
        if (blkid_probe_sprintf_version(pr, "%6s",
-                               isw->sig[sizeof(ISW_SIGNATURE)-1]) != 0)
+                       &isw->sig[sizeof(ISW_SIGNATURE)-1]) != 0)
                return -1;
 
        return 0;