block: vmdk - fixed sizeof() error
commita7be17bee855f26c317e99aa6582e1dc9b8ebd71
authorJeff Cody <jcody@redhat.com>
Tue, 10 Feb 2015 18:22:56 +0000 (10 13:22 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 15:07:17 +0000 (16 15:07 +0000)
treef054bfd919d3575d60b98bde80188c411975cf2b
parent5d80448c3fc566e505adfa2b566ec8074442c8e1
block: vmdk - fixed sizeof() error

The size compared should be PATH_MAX, rather than sizeof(char *).

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 46d873261433f4527e88885582f96942d61758d6.1423592487.git.jcody@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vmdk.c