]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - fs/squashfs/sqfs.c
Merge branch 'master' into next
[thirdparty/u-boot.git] / fs / squashfs / sqfs.c
index b9f05efd9c9c525e1118877e278800c159a14dcd..246ec28b31ceb91787c879d33919845ac9b2a085 100644 (file)
@@ -49,7 +49,7 @@ static int sqfs_read_sblk(struct squashfs_super_block **sblk)
 
        if (sqfs_disk_read(0, 1, *sblk) != 1) {
                free(*sblk);
-               sblk = NULL;
+               *sblk = NULL;
                return -EINVAL;
        }